code-for-nashville / inclucivics

Data visualization of Nashville Metropolitan Government employee salary and demographics
http://www.codefornashville.org/inclucivics/
MIT License
12 stars 18 forks source link

Graphs Discussion #125

Closed kevinahuber closed 6 years ago

kevinahuber commented 7 years ago

With #124 and #122 - I think it would behoove us to think through how the data is shown. As far as I understand, all of the data is a ratio- I would suggest for the main display we switch to percent area charts, with a metric of % change (and color- red if down and green if up) next to each ethnicity in the legend. This allows users to see the data over time in one graph.

mshenfield commented 7 years ago

If it's inline w/ converting the graphs to ReCharts, feel free to change. I like the PercentAreaCharts much more than the pie charts (which I've read somewhere are misleading). A couple other points

mshenfield commented 7 years ago

Kevin and I met in person to discuss. Among other things, Kevin had a great idea for a graph displaying one of the more interesting facets of the data - a stacked percentage area graph with income on the x-axis. Here's a (blurry, 😭 ) picture of the graph:

income-stacked-area-graph

kevinahuber commented 7 years ago

I'll try to make a run at this- I could get help on switching the scape to put data in the format of:

{
   'incomeMin': <int of min income>,
   'incomeMax': <int of max income>,
   'American Indian/Alaskan Native': <# of employees>,
   'Asian or Pacific Islanders': <# of employees>,
    ...etc
}
mshenfield commented 6 years ago

Closing this - going to create a new issue to encapsulate additional graphs/visualizations.