hackoregon / teamHomelessness-frontend

2016-2017 Homelessness Project Team - frontend code-staging site
http://hacko-homelessness-staging.s3-website-us-west-2.amazonaws.com/
MIT License
1 stars 10 forks source link

Adjust half-donut chart #75

Open outerpress opened 7 years ago

outerpress commented 7 years ago

Half-donut Chart Types

This can be broken down to two different chart types used throughout the project - a more robust one used for comparison, and a simpler one used for highlighting.

Multi-value

A multi-value half-donut chart can be used to compare 2 or percentages of a base value. Components are:

Example: halfdonut

Highlight Chart

This is used to highlight a particular number. It's a simplified version of the multi-value chart.

Example: asset 7

General Functionality

Coloring

It's difficult to distinguish the differences in non-focused values in the current scheme because they're all the same grey. The colors should be a gradient of the base color.

Sections

Along with the color changes above, lets make the sections a bit clearer, and more useful:

Labeling

Example:

label states

Active State: Unsheltered Focus/Hover State: Transitional Housing

Values

Dates

Dates will be a global element for each card. I'll describe them in a separate issue, but basically, they can be updated by clicking the date anywhere it shows up within a card.

outerpress commented 7 years ago

@clemf This is my first pass at standardizing/updating our half donuts. We can definitely simplify/clarify further. 🔪 🍩

clemf commented 7 years ago

@outerpress I love this! This will really help me refactor into a nice reusable component.