🌍 Public
Viewing a saved revision (read-only)
79365b39ae81493887150bdede466bda
Piechart
This pie chart visualizes lottery ticket sales in Texas for a single day, displaying five categories with counts ranging from 390 to 3,597. Each slice’s arc length encodes the count value, with distinct colors assigned via `d3.scaleOrdinal`. The chart includes value labels positioned using the `d3.arc` centroid method and a legend listing names and counts. Data loads asynchronously from Lottery.csv using `d3.csv`, with counts parsed to numbers before `d3.pie` computes the angular layout.
AI-generated descriptionA reusable scatter plot inspired by Towards Reusable Charts.
Shows the Iris Dataset.