Open banjtheman opened 3 years ago
Create a Pyramid Chart for the County Compare app https://altair-viz.github.io/gallery/us_population_pyramid_over_time.html
To visualize differences between two counties
Remove current code in the view https://github.com/banjtheman/defundthepolice/blob/main/apps/county_compare/views.py#L29-L56
Replace with code that renders a pyramid chart for the selected counties Here is example code https://altair-viz.github.io/gallery/us_population_pyramid_over_time.html
x-axis should be percent y-axis should be item
Pyramid chart shows in the County Compare App
What is the Task
Create a Pyramid Chart for the County Compare app https://altair-viz.github.io/gallery/us_population_pyramid_over_time.html
Why do we want to do this
To visualize differences between two counties
How can I get started?
Remove current code in the view https://github.com/banjtheman/defundthepolice/blob/main/apps/county_compare/views.py#L29-L56
Replace with code that renders a pyramid chart for the selected counties Here is example code https://altair-viz.github.io/gallery/us_population_pyramid_over_time.html
x-axis should be percent y-axis should be item
Definition of Done
Pyramid chart shows in the County Compare App