Viewing a saved revision (read-only)
a02b947df8a34495bfe58733cadde447
Chart of Industries Sharks Invest In
This stacked bar chart shows the number of deals each Shark Tank investor has closed across 16 industries, allowing entrepreneurs to identify which Sharks align with their product category. The chart uses `d3.flatRollup` and `d3.stack` to structure the data, with `d3.scaleOrdinal` and `schemePastel1` for color encoding. Hovering over the legend highlights a selected Shark’s segments while fading others, using interactive event handlers that update the chart’s opacity and stroke. The data was manually derived from a Kaggle Shark Tank US dataset.
AI-generated descriptionStacked bars showing estimated religion breakdown of the most populous 20 countries in 2010. Based on an example from the tutorial Splitting Charts. Interactions:
- Hover over the legend to highlight religions.
Data is from The Global Religious Landscape by Pew Research, generated using this processing script.