Skip to main content
100%

Fork of Assignment2 question 2

✓ Published1🌍 Public
BBhavana Sharma
Last edited Apr 12, 2024
Created on Apr 10, 2024

This example visualizes monthly sales data as a filled area chart, with the area rendered in translucent steelblue. It fetches CSV data from a GitHub Gist and maps months to the x-axis using `d3.scaleBand` and sales values to the y-axis with `d3.scaleLinear`. The chart is drawn in SVG using the `d3.area` generator, with axes and labels added via `d3.axisBottom` and `d3.axisLeft`. Data parsing is handled by `d3.csvParse`, and the visualization is built entirely with D3 v7.

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