Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity 6_Q2.A2

Public visualization

Viewing a saved revision (read-only)

3da0e0889a9e4b4d870e406fec224c50

Activity 6_Q2.A2

0 stars0🌍 Public
SSeema Shrestha
Last edited Apr 11, 2024
Created on Apr 9, 2024
Forked from Activity 6_Task 2

This stacked bar chart compares the populations of ten countries from 2010 to 2020 using data from a CSV file. Red and blue bars represent each year, with country names along the x-axis and population values on the y-axis. The visualization uses D3.js v6 APIs like `d3.scaleBand`, `d3.scaleLinear`, and `d3.stack` to render SVG rectangles, with a legend identifying the two time periods.

AI-generated description

The impact of genre on movie ratings

This stacked bar chart gives the percentage of each rating level within different movie genres. The aim is to show the impact of genre on movie ratings. When the mouse hovers over each bar, you can see pop-ups of accurate percentage of each rating level within each genre. Total percentage is 1, representing 100%.