Skip to main content
100%

ICE-7 SCATTER PLOT VARUN

✓ Published0🌍 Public
Ppeddubalaji@gmail.com
Last edited Mar 28, 2024
Created on Mar 28, 2024
Forked from ICE-7 Scatter plot

This example shows a pie chart of the top 10 most frequent math scores from a CSV dataset, with a legend displaying each score and its count. It uses D3.js v7 to load the data via `d3.csv`, aggregate counts, and sort them in descending order. The `d3.pie` and `d3.arc` functions generate the slices, while a custom color palette from `d3.schemeCategory10` colors each slice, and a separate SVG legend is built manually with `rect` and `text` elements.

AI-generated description
MIT Licensed

Similar vizzes