Skip to main content
100%

Fork of Hello VizHub Task 2

✓ Published0🌍 Public
VVijay Sheru
Last edited Apr 11, 2024
Created on Apr 10, 2024
Forked from Hello VizHub

This stacked bar chart shows the distribution of population across years for the top 10 countries, with each bar segment representing a year's contribution. The visualization uses D3.js v7, employing `d3.stack` with `d3.keys` to create the stacked structure, `d3.scaleLinear` and `d3.scaleBand` for axes, and `d3.axisBottom` and `d3.axisLeft` for ticks. Data is loaded from a CSV file, with `d3.csv` fetching the dataset. The chart renders as SVG, populating rectangles for each segment, and includes a legend and axis labels.

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%.

MIT Licensed

Similar vizzes