Activity-7.1 Q1
✓ Published0🌍 Public
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 descriptionA reusable scatter plot inspired by Towards Reusable Charts.
MIT Licensed