D3 visualizations of budget data from the City of Seattle.
This webapp uses budget data from the City of Seattle data portal.
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.
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.
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.