Skip to main content
100%

Activity-7.1 Q1

✓ Published0🌍 Public
Ttarun.chintada46@gmail.com
Last edited Nov 3, 2024
Created on Nov 3, 2024
Forked from Hello VizHub

This visualization shows housing costs across different urban areas as a pie chart. The code loads data from a CSV file and uses d3.pie and d3.arc to generate the sectors, with d3.scaleOrdinal assigning distinct colors to each location. The SVG rendering includes a legend displaying the urban area names alongside their corresponding color swatches. The dataset is fetched asynchronously from a GitHub gist, and the chart updates dynamically once the data is loaded.

AI-generated description

A reusable scatter plot inspired by Towards Reusable Charts.

MIT Licensed

Similar vizzes