Varun Scatterplot
✓ Published0🌍 Public
This example visualizes the frequency distribution of math scores from a dataset by displaying the top 10 most common scores as a pie chart with a corresponding legend. It shows how often each score occurs, with slices colored using a categorical palette and labeled with both the score value and its count. The visualization is built with D3 v7, using `d3.csv` to load the data, `d3.pie` and `d3.arc` to generate the pie slices, and SVG elements rendered into the DOM. The legend maps each color to its score and frequency, making the chart easy to read at a glance.
AI-generated descriptionMIT Licensed