Skip to main content
100%

Activity 8 Q3

✓ Published0🌍 Public
Ppasyasahas
Last edited Jul 5, 2023
Created on Jul 5, 2023
Forked from Hello VizHub

A line chart displays the cost of sales from 2000 to 2013, sourced from a CSV file with `year` and `cost` columns. The visualization uses D3.v7 to render an SVG, mapping years to a band scale on the x-axis and costs to a linear scale on the y-axis. The chart applies a light green stroke, red axis labels, and custom font styling, with the `d3.line()` generator constructing the path and `d3.axisBottom`/`d3.axisLeft` adding ticks.

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