An open API service indexing awesome lists of open source software.

https://github.com/interactivethings/vega-react-hooks-example

Create a chart with Vega, manage state with React
https://github.com/interactivethings/vega-react-hooks-example

Last synced: 9 months ago
JSON representation

Create a chart with Vega, manage state with React

Awesome Lists containing this project

README

          

# Visualize Data with Vega, the Vega View API and React Hooks.

This is an illustration of how to use [Vega](https://vega.github.io/vega/) specs to create a chart, while managing state with [React](https://reactjs.org/) and interactivity with the [Vega View API](https://vega.github.io/vega/docs/api/view/).
See the application here [https://vega-react-hooks.netlify.com/](https://vega-react-hooks.netlify.com/).

## Run this project

Clone this repo and run:

`yarn && yarn start`

This should start a development server at `http://localhost:3000/`.