Template
Marina Tide Dashboard
A light, animated harbour-office dashboard for a tidal marina, built around a live tide chart that shows when boats can cross the bar.
Everything the office of a small tidal marina checks each morning, on one bright page. At its centre is a hand-drawn tide chart: the water level for the day with high and low water marked, drifting foam lines, a bobbing boat at the current time, and hatched periods when the harbour bar is too shallow to cross. Pick a draft and the tide-needed line springs to its new height while the open windows reflow; pick another day and the new tide rolls across the chart from left to right. Every planned arrival and departure sits on the curve, coloured by whether that boat can cross at its time, and the movements list tells the skipper how long to wait.
Around it: a berth map of four pontoons where boats sail in and out as you change the day, KPI cards with counters and sparklines that slide to the selected day, and a movement list linked to the chart and the map on hover. It is plain HTML, CSS and JavaScript with no libraries and no build step. Every chart is inline SVG, and every moving number (all 145 points of the tide curve, the sparklines and the counters) runs on one small spring class, so a second click mid-animation simply re-targets instead of jumping. The page enters in stages, the tide chart can be read with the pointer or the arrow keys, and the layout goes from a two-column desktop to a phone layout with the tide chart first. All data sits in one object at the top of script.js and every colour is a CSS variable, so it re-skins easily for a ferry operator, boatyard, harbour authority or sailing school.