Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

linechart

Public visualization

Viewing a saved revision (read-only)

0353aadddbc845deb614628d6eee96b2

linechart

0 stars0🌍 Public
Ppardha1411
Last edited Jul 10, 2023
Created on Jul 10, 2023
Forked from Hello VizHub

A line chart displays the cost of sales from 2000 to 2013, sourced from a local CSV file. The visualization uses D3 v7 to render an SVG, mapping years on the x-axis and cost values on the y-axis. The line, drawn with a stroke path, is created using `d3.line()`, with axes added via `d3.axisBottom` and `d3.axisLeft`. Axis labels are styled with red fill and large font.

AI-generated description

A demonstration of how to start using D3 version 6.