Skip to main content
100%

Activity6-TASK2(Question)

✓ Published0🌍 Public
Vvinilavoddi@my.unt.edu
Last edited Oct 21, 2024
Created on Oct 21, 2024
Forked from Hello VizHub

This visualization displays monthly car sales for eight models as a horizontal stacked bar chart, with each bar segmented by month from January through August. It uses D3 v7’s `d3.stack` to compute the stacked values, `d3.scaleBand` for the categorical y-axis, and `d3.scaleLinear` for the quantitative x-axis, rendering rectangles within SVG groups. Data is loaded externally from a CSV file via `d3.csv`, and a color-coded legend identifies each month alongside the chart.

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