Skip to main content
100%

question-2

✓ Published0🌍 Public
Jjangalaupender@my.unt.edu
Last edited Apr 5, 2024
Created on Apr 5, 2024
Forked from Hello VizHub

The chart displays the percentage distribution of 10th-grade student scores across seven subjects, with horizontal stacked bars for five grade bands ranging from "below 60" to "above 90." It reads subject data from a local CSV file. Using d3.scaleBand for the categorical y-axis and d3.scaleLinear for the percentage x-axis, it applies d3.stack to produce the stacked segments and d3.axisBottom with tick lines for grid reference. Hovering over a segment triggers a tooltip that shows the exact percentage for that subject and score band.

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