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
- Host: GitHub
- URL: https://github.com/interactivethings/vega-react-hooks-example
- Owner: interactivethings
- Created: 2019-05-10T07:02:27.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2019-05-13T07:31:12.000Z (over 6 years ago)
- Last Synced: 2025-04-08T21:23:41.609Z (10 months ago)
- Language: JavaScript
- Homepage: https://vega-react-hooks.netlify.com/
- Size: 94.7 KB
- Stars: 4
- Watchers: 5
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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/`.