🌍 Public
Viewing a saved revision (read-only)
278281b987104781ab15ccac29d4ef29
Fork of DV TAK-9&10
This example shows a pie chart of movie genres and their associated metric, using a CSV file fetched via `d3.csv` that stores each genre with a value from a column titled "below 5.0". It displays proportional arcs for each segment, colored with `d3.scaleOrdinal` and `d3.schemeCategory10`, plus a color-coded legend listing every genre. The chart is built with `d3.pie` and `d3.arc` in an SVG container, with white strokes separating the slices. The layout pairs the pie with a legend on the right, both rendered in plain HTML and SVG.
AI-generated description