Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

ICE-7 Line Chart

Public visualization

Viewing a saved revision (read-only)

8ece75b22c0740569bf5f8ecadeb0c3f

ICE-7 Line Chart

0 stars0🌍 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