Skip to main content
100%

Activity8_Task3

✓ Published2🌍 Public
Cchsaisriharsha@gmail.com
Last edited Jul 12, 2023
Created on Jul 5, 2023
Forked from Activity8_Task2

This example visualizes the cost of sales from 2000 to 2013 using a line chart rendered as an SVG. It loads data from a local CSV file and maps years to a band scale along the x-axis and costs to a linear scale on the y-axis. The chart uses D3 v7 APIs, including `d3.csv`, `d3.scaleBand`, `d3.scaleLinear`, `d3.axisBottom`, `d3.axisLeft`, and `d3.line`, to draw a thick light-green line with red axis labels and styled text.

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