thegreenwebfoundation / green-cost-explorer

See how much of your cloud bill is spent on fossil fuels ,so you can do the right thing and switch. We're in a climate crisis, remember?
Apache License 2.0
171 stars 18 forks source link

Create output that can easily be rendered with Vega Lite #3

Open mrchrisadams opened 5 years ago

mrchrisadams commented 5 years ago

If we make this output in the format vegalite expects, we can then rely on VegaLite to give us all kind of nice viz, aggregations and rollups, which then makes it easy to embed in dashboards or anywhere you might use vega embed:

https://github.com/vega/vega-embed

This gives us nice PNG and PDF outputs to make it easy for people to drop into reports, emails, slack channels, etc and make the case for getting off fossil fuels.

For this, I think the key thing we need is some notion of a timestamp in each json object for the region.