Skip to main content
100%

Task 8 task 2

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

A stacked bar chart shows the distribution of food ratings across five percentage categories, from below 5.0 to above 8.5, for items like panipuri and Chickenbiryani. The chart uses d3.stack() to create stacked segments, with colors assigned via d3.scaleOrdinal. d3.axisBottom and d3.axisLeft render the axes, while mouseover events trigger a tooltip displaying exact percentages. Data comes from a CSV file, rendered as SVG in D3 v7.

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