Skip to main content
100%

ICE-7 Line Chart

✓ Published0🌍 Public
PPrasanth Damarla
Last edited Mar 28, 2022
Created on Mar 27, 2022
Forked from ICE 7 Line Chart

This line chart displays annual sales for an e-commerce site from 2009 to 2019, with a blue line tracing the trend over time. Using D3 v5, it loads CSV data via `d3.csv`, parses dates with `d3.timeParse`, and constructs the visualization with `scaleTime`, `scaleLinear`, `axisBottom`, `axisLeft`, and `line`. The SVG includes gridlines from tick marks, axis labels, and a styled path, with sales values formatted using `format('.3s')`. The chart is rendered entirely in SVG with axes positioned inside a margin-defined area.

AI-generated description
MIT Licensed

Similar vizzes