Skip to main content
100%

Pie Chart Housing Data

✓ Published1🌍 Public
BBrian Gilmore
Last edited Mar 23, 2023
Created on Mar 23, 2023

This pie chart visualizes the distribution of median housing prices across eight income brackets, ranging from under $82,000 to $442,000 or more. Each slice represents a price range, with its size proportional to the number of homes in that category. The visualization uses d3.pie() and d3.arc() to generate the chart, while d3.scaleOrdinal with a custom color range distinguishes the segments. A legend with colored squares and labels is added using SVG rect and text elements, and the data is embedded directly as a JavaScript object rather than loaded from an external file.

AI-generated description
MIT Licensed

Similar vizzes