Skip to main content
100%

Activity_6 Question 2

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

This stacked bar chart displays student enrollment counts across four courses (Engineering, Business, Medical, Arts) for the years 2000, 2021, 2022, and 2023, using data from a local CSV file. The visualization, rendered as an SVG, uses D3 v7 APIs including `d3.stack`, `d3.scaleBand`, `d3.scaleLinear`, and `d3.axisBottom` to create the horizontal bars. A custom tooltip, styled via CSS, reveals the specific category and sales value when hovering over a segment. The chart includes labeled axes and a legend positioned to the right.

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