Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity6_Task2-Question3

Public visualization

Viewing a saved revision (read-only)

45029548d45a4f18b23230af7472028a

Activity6_Task2-Question3

0 stars0🌍 Public
Kkrunalpatel@my.unt.edu
Last edited Apr 14, 2024
Created on Apr 13, 2024
Forked from Activity6_Task2

This stacked bar chart visualizes the first 30 days of Delhi climate data, showing how the daily values for mean temperature, humidity, wind speed, and mean pressure contribute to a total for each day. The code uses `d3.csv` and `d3.autoType` to load the data, then employs `d3.stack` and `d3.scaleBand` with a color ordinal scale to render the stacked rectangles in an SVG. It uses `d3.axisBottom` and `d3.axisLeft` for the axes, with a manually positioned legend.

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