Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Task 8 task 2

Public visualization

Viewing a saved revision (read-only)

0dc1d7b63cf64487b9da809b9fb018e1

Task 8 task 2

0 stars0🌍 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.