Skip to main content
100%

Fork of A7 Line Chart

✓ Published0🌍 Public
Bbharatpatil0701@gmail.com
Last edited Mar 19, 2024
Created on Mar 19, 2024
Forked from A7 Line Chart

This example visualizes monthly wind speed measurements across multiple cities, with each city represented by a distinct colored line. The chart uses an ordinal color scale with a legend to distinguish the ten city categories. Built with D3 v6 and rendered as SVG, the visualization includes both lines connecting data points and circular markers for each measurement. The code employs `d3.group` to structure the data by city, `d3.scaleOrdinal` for color mapping, and `d3.line` for path generation. A hover effect changes the dot color to red, and axis labels identify the months and wind speed units.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes