Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity-7_Question-2

Public visualization

Viewing a saved revision (read-only)

fe8017f7631a4c8dbe190634417a2f80

Activity-7_Question-2

0 stars0🌍 Public
Rrahul.bonu524@gmail.com
Last edited Nov 5, 2024
Created on Nov 5, 2024
Forked from Hello VizHub

This area chart displays monthly sales data loaded from a CSV file, with a hover interaction that reveals a tooltip showing the exact month and sales value. The visualization uses D3.js v7 to render the SVG area path via the `d3.area` API, with `scaleBand` and `scaleLinear` axes. Transparent rectangles are overlaid on the data region so hovering triggers the tooltip, which fades in and out using D3 transitions.

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.