Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity-8_Question-2

Public visualization

Activity-8_Question-2

0 stars0🌍 Public
Mmanideepchinna25@gmail.com
Last edited Apr 14, 2024
Created on Apr 14, 2024
Forked from Hello VizHub

This example presents a stacked bar chart that visualizes product sales (productA, productB, productC) across four regions (North, South, East, West). It uses D3 v7 to load a CSV file, stack the data, and render SVG bars with a categorical color scale. The chart includes axes for region and sales totals, and a legend identifying each product's contribution to the stack.

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.

Comments

Sign in to join the discussion.

MIT Licensed