Skip to main content
100%

linechart

✓ Published0🌍 Public
JJayanthKumarkoni
Last edited Jul 23, 2023
Created on Jul 23, 2023
Forked from Hello VizHub

A line chart visualizes the cost of sales from 2000 to 2013, with years on the x-axis and cost on the y-axis. The chart is rendered as SVG, using D3 v7's `scaleBand`, `scaleLinear`, `line` (via `d3.line()`), and axis functions (`axisBottom`, `axisLeft`) to draw the path and axes. Data is loaded from a CSV file using `d3.csv`. The chart includes red axis labels and a red title.

AI-generated description

An example showing the capabilities of VizHub:

  • Loads D3 via UNPKG.
  • Demonstrates use of import from "d3".
  • Demonstrates use of import from local ES6 modules.
MIT Licensed

Similar vizzes