This repository contains the files associated with the prototype dashboard (NC Summary Comparison, aka ncSumComp) for the HackForLA 311 Data Project version 2 website.
City of LA provided open access to 311 Request Data reported by residents on incidents such as bulky items, animal remains, or water waste present in the area. The current dashboard aims to leverage these data to generate insights to empower the city of LA and different neighborhood councils, with the end goal of driving community initiatives to make a positive impact in the community.
The current prototype has two dashboards, one containing the summary for the neighborhood dashboard, the other one contains a dashboard for comparison between neighbhood councils.
Neighborhood Council Summary Dashboard:
Visuals:
- Line Chart: Total number of 311 Requests over the time range as defined by the earliest request create date and latest request create date. This shows which specific time range has the most request
- Pie Chart: Share of request type based on the data available. This shows what kind of request has the highest/lowest demand in a particular neighborhood council
- Histogram: Distribution of request time to close This shows how long it takes for each request to complete (proxied by close request) as a distribution
Features:
- Selecting individual neighbhood council
- Removing particular request types
- Data Quality Toggle to filter data with quality issues (where the time to close is less than 1 day or longer than 100 days)
Neighborhood Council Comparison Dashboard
Visuals:
- Indicator Visuals: Total number of requests and the number of days of the data available
- Bar Chart: Number of requests by sources. This indicators show the variety of mediums individuals make request through
- Line chart: total number of 311 request comparison
- Download the 311PlotlyDockerized.zip Zip File
- Unzip the file locally
- Open the unzip folder with your favorite directory
- Set up and start up local 311-Data API according to 311 Data Project Documentation
- Build docker container with the following code in your terminal
docker build -t dashboard_upgrade .
- Run the docker container in your terminal
docker run -p 5500:5500 -v "$(pwd):/app" -e PRELOAD=False dashboard_upgrade
- Use your favorite browser to access the dashboards with the following url
http://localhost:5500/
- Click on ncSumComp for the v2 version of the dashboard displayed above. You can also view dashboards created by previous 311 data project engineers via the other tabs.