Skip to main content
100%

Fork of ICE-7 Line Chart

✓ Published0🌍 Public
Mmounishnaidu96@gmail.com
Last edited Mar 28, 2024
Created on Mar 28, 2024
Forked from ICE-7 Line Chart

This line chart visualizes annual cotton sales from 2009 to 2021, using a red polyline to trace the trend over time. It demonstrates a D3 v5 workflow with an SVG-based rendering approach. The code employs `scaleTime` for the year-based x-axis and `scaleLinear` for the sales y-axis, while `line()` generates the path. Axes are rendered via `axisBottom` and `axisLeft` with gridlines, and data is loaded as CSV from a remote gist. The chart includes labeled axes, a title, and a styled line, showcasing typical D3 data-joining and margin conventions.

AI-generated description

A demonstration of how to start using D3 version 6.

MIT Licensed

Similar vizzes