Skip to main content
100%

Fork of selling price of fortuner car in different years

✓ Published1🌍 Public
Ssivamani
Last edited Mar 12, 2023
Created on Mar 12, 2023

This example displays literacy rates for Southern Indian states as a pie chart, with each state’s name labeled on its slice and a color-coded legend showing the percentage value. Using D3.js v5, the code loads CSV data from a GitHub gist, then applies `d3.pie` and `d3.arc` to generate SVG paths, with `d3.scaleOrdinal` assigning colors. State names are placed via `arcGenerator.centroid`, while the legend lists each state and its formatted literacy percentage.

AI-generated description
MIT Licensed

Similar vizzes