hackoregon / civic

The frontend monorepo for the CIVIC platform.
http://civicplatform.org
MIT License
60 stars 26 forks source link

Convert scatter plot to VictoryCharts #49

Closed jaronheard closed 6 years ago

jaronheard commented 6 years ago

We are moving from Recharts to VictoryCharts. See also issue #44.

The existing ScatterPlot component needs to be converted to the VictoryCharts equivalent: https://formidable.com/open-source/victory/docs/victory-bar/

The purpose of having our components wrap VictoryCharts is to prescribe stylistic choices, such as colors, line weight, spacing, etc.

Todo:

The basic scatterplot should look like this, and have all of the components shown in this chart.

sp no tooltip sp tooltip

Generally, I'm expecting that the color and font styling will be inherited from a common VictoryTheme, so don't worry about the color and font for this issue.

In addition to what is shown, Scatterplot should have the following features:

jaronheard commented 6 years ago

I've updated the design in the original issue. The tooltip shown is addressed in #65.

jaronheard commented 6 years ago

130 addresses