Skip to main content
100%

Task_1_Question_1

✓ Published0🌍 Public
Ttarunskuruvadi@gmail.com
Last edited Apr 22, 2024
Created on Apr 22, 2024

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 description

A reusable scatter plot inspired by Towards Reusable Charts.

MIT Licensed

Similar vizzes