🌍 Public
Viewing a saved revision (read-only)
8c33a84bf7434c08a69991ecff6b1b37
Task_1_Question_1
This chart displays housing costs for different urban areas as a pie chart, using color-coded slices to represent each location’s proportion of the total. A legend on the right maps slice colors to place names. The visualization is built with D3 v5, using `d3.pie` to compute arc data and `d3.arc` to generate SVG paths. Data is fetched as CSV from a GitHub gist, and `d3.scaleOrdinal` assigns slice colors from a predefined palette. The SVG output is centered and styled via CSS.
AI-generated descriptionA reusable scatter plot inspired by Towards Reusable Charts.