Skip to main content
๐ŸŒ Public

Share visualization

Send this visualization to others.

Activity6_Question2

Public visualization

Activity6_Question2

0 stars0๐ŸŒ Public
Llikhitha.sarahah01@gmail.com
Last edited Oct 23, 2024
Created on Oct 20, 2024
Forked from Hello VizHub

A stacked bar chart visualizes the distribution of ice cream flavor ratings across five percentage categories, with each flavor represented as a horizontal bar segmented by rating tier. The chart uses D3.js v7 APIs including `d3.stack`, `d3.scaleLinear`, `d3.scaleBand`, and `d3.axisBottom`/`d3.axisLeft`. Data comes from a local CSV file, rendered as SVG with interactive tooltips on hover showing the exact percentage per segment.

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.

Comments

Sign in to join the discussion.

MIT Licensed