🌍 Public
Viewing a saved revision (read-only)
af9d5d70eba347eeae1f0719a498ef5b
Untitled
This visualization shows the distribution of housing types in a dataset as a pie chart, with each category represented as a slice colored by a pastel scheme. The code loads CSV data from a remote GitHub gist, counts occurrences of each property type (apartment, house, condo, etc.), and renders the results using the vega-lite-api library. It uses `markArc` for the pie slices, encodes color by the nominal type field, and applies a count aggregation for the theta angle. The chart includes tooltips and a title indicating the number of housing types.
AI-generated description