Skip to main content
100%

Activity_7_2

✓ Published0🌍 Public
Gguruabhay294@gmail.com
Last edited Nov 6, 2024
Created on Nov 6, 2024
Forked from Hello VizHub

This example displays an area chart of monthly sales data, using a steel blue filled path to show the trend across categories. It loads data from a CSV file hosted on GitHub and renders the visualization as an SVG. The code uses D3.v7’s `scaleBand`, `scaleLinear`, `area` generator, and axis functions to construct the plot, including an axis label for months and sales, plus a simple legend indicating the series.

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