Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

task9&10-1.2

Public visualization

Viewing a saved revision (read-only)

909ed3a9ceeb4f3f9fc115c6866e9546

task9&10-1.2

0 stars1🌍 Public
HHanuReddy
Last edited Apr 16, 2024
Created on Apr 16, 2024

This area chart displays monthly revenue from sales_data.csv, with a steelblue filled region rising across twelve months from January to December. The visualization uses D3 v7, applying `d3.csv` to load the data, `d3.scaleBand` for the categorical month axis, and `d3.scaleLinear` for the revenue axis. It renders the area with `d3.area()` and draws the resulting path into an SVG, adding labeled X and Y axes via `d3.axisBottom` and `d3.axisLeft`.

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.