🌍 Public
Viewing a saved revision (read-only)
8e787b3a7a9f4879b6f29a9f1289365c
Fork of Fork of Fork of ICE7 Pie Chart
This example visualizes movie budgets and their net worth in billions using a pie chart, with each slice labeled and accompanied by a legend. The visualization fetches data from a CSV file and renders it as an SVG using D3 v5, employing `d3.pie`, `d3.arc`, and `d3.scaleOrdinal` to generate and color the chart’s segments. The code also uses `d3.format` to display tick values with abbreviations like "K" for thousands, while the title and axes are styled via an external stylesheet.
AI-generated descriptionThis is a Pie chart