Skip to main content
100%

Activity6_Question2

✓ Published0🌍 Public
JJhansi Balla
Last edited Oct 24, 2024
Created on Oct 24, 2024
Forked from HTML Starter

This stacked bar chart shows the distribution of music ratings across five social media platforms (Twitter, Instagram, TikTok, Facebook, Snapchat), split into five rating brackets from below 5.0 to above 8.5. Each bar represents a platform, with colored segments showing the percentage of ratings in each bracket. The visualization uses D3 v7’s `d3.stack()` and `d3.scaleOrdinal` for color encoding, rendered as SVG with a tooltip on mouseover displaying exact percentages via `d3.format`. Data comes from a local CSV file.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

MIT Licensed

Similar vizzes