sea-budgets


D3 visualizations of budget data from the City of Seattle.

The Dataset

This webapp uses budget data from the City of Seattle data portal.

City of Seattle Budgets: Zoomable Sunburst

This visualization of the City of Seattle's budget uses a zoomable sunburst chart. By clicking on partitions, you can zoom in and explore different parts of Seattle's budget.

City of Seattle Budgets

Structured JSON for D3: iPython Notebook

Python code was used to process the flat data in the original budget tables, and turn it into the hierarchical, structured JSON required to create the D3 visualization. This code was put into an iPython notebook, and a static page generated from the notebook for reference. Below is a link to the notebook.

iPython Notebook: CSV to JSON Tree

Pelican and Sea-Budgets

The sea-budgets website uses Pelican, a Python library for static content generation. See the Github repository for more info and to see the source code.

City of Seattle Budgets