Skip to main content
100%

linechart

✓ Published0🌍 Public
Mmn0658
Last edited Jul 19, 2023
Created on Jul 19, 2023
Forked from linechart

A line chart displays the cost of sales from 2000 to 2013, with each year plotted along the x-axis and cost values along the y-axis. The SVG visualization uses d3.scaleBand and d3.scaleLinear for positioning, while d3.line and d3.axisBottom and d3.axisLeft construct the path and axes. Data is loaded from a CSV file via d3.csv. The chart features a lightgreen stroke, red axis labels, and a styled 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