Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity 6 quiz 2.1

Public visualization

Activity 6 quiz 2.1

0 stars0🌍 Public
Ssreejabommineni1506@gmail.com
Last edited Apr 22, 2025
Created on Apr 22, 2025
Forked from IMDb Movie ratings

This stacked bar chart visualizes the distribution of food ratings across twenty cuisines, with each bar segment representing the proportion of responses in five categories from "Extremely Low" to "Highest." The visualization uses d3.stack() to transform the CSV data into stacked series, d3.scaleOrdinal for color encoding, and d3.scaleBand for the categorical y-axis. Interactive tooltips appear on mouseover, displaying the exact percentage for each rating category using d3.format. The SVG rendering includes custom axes, gridlines, and a legend-style title.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed