Skip to main content
Public

Share visualization

Loading preview…

Fork of project-TIME SERIES AVERAGE WIND DIRECTION FOR ALL CITIES(AREA CHART)

vizhub.com

Shared links may look like this on X, LinkedIn, Slack, and Discord.

Before sharing, review the publishing checklist.

Choose how to deliver this visualization

LinkedIn caption

LinkedIn may not keep text supplied by the share sheet. Copy the caption and paste it into the post if needed. You can tag the VizHub company page when posting.

More options

Embed on a websiteCopy iframe embed code
Download & exportPNG, HTML, source ZIP

Fork of project-TIME SERIES AVERAGE WIND DIRECTION FOR ALL CITIES(AREA CHART)

1

This visualization displays the average wind direction across all cities as a time-series area chart, with the y-axis fixed from 0 to 360 degrees to represent compass directions. It shows how the mean wind direction changes over time, with circles marking individual data points and a tooltip revealing the exact date and wind direction on hover. The chart uses D3 v7’s `d3.area` and `d3.scaleTime` functions to render the area shape and time axis, while `d3.axisBottom` and `d3.axisLeft` add labeled axes. Data is loaded from a CSV via `d3.csv`, parsed with `d3.timeParse`, and averaged across city columns. The visualization also computes the highest, lowest, and most consistent wind direction values from the dataset.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

Comments

Sign in to join the discussion.

MIT Licensed