Skip to main content
100%

activity7_question2

✓ Published0🌍 Public
Nnishwitha.1032@gmail.com
Last edited Nov 3, 2024
Created on Nov 2, 2024

This stacked area chart visualizes the distribution of sepal width, petal length, and petal width across different sepal length values, using the classic Iris dataset. The chart shows how these three flower measurements contribute proportionally to the total across the range of sepal lengths, with color-coded categories shown in a legend. The visualization is built with D3.js (v7) and renders as an SVG, using `d3.stack()` for the stacked data, `d3.area()` for the area path generation, and `d3.scaleOrdinal()` for color mapping. The code reads data from a local CSV file and includes custom styling with fonts from Google Fonts.

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