Skip to main content
100%

ICE-7 Pie chart

✓ Published0🌍 Public
RRaajithaSabbineni
Last edited Jul 2, 2022
Created on Jul 2, 2022
Forked from [TEST] Pie Chart

This pie chart displays the top 10 highest-rated anime, using a slice per title with its rating label and a color-coded legend listing each anime’s name and numerical value. The chart is rendered as an SVG, with data fetched from a CSV URL and processed using d3.csv, d3.pie, d3.arc, and d3.scaleOrdinal. Each slice’s fill color maps to its rating value via a sequential ordinal scale, while labels and a legend are appended using D3’s selection and enter/append methods. The visualization uses D3 v5 and a custom segment color array for the ten entries.

AI-generated description
MIT Licensed

Similar vizzes