Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of React Starter

Public visualization

Fork of React Starter

0 stars0🌍 Public
BBetty
Last edited May 5, 2022
Created on May 5, 2022
Forked from React Starter

This example plots airport locations as red circles on a map, with each point colored by state and showing a tooltip on hover. The visualization loads airport data from a CSV file hosted on jsDelivr, then renders it using a Vega-Lite API specification defined in `viz.js`, which is registered with the Vega and Vega-Lite libraries in `index.js`. The React starter app fetches the data asynchronously via D3’s `d3.csv` method, then passes it to the Vega-Lite chart, which sizes the plot to fill the browser window.

AI-generated description

React Starter code.

Comments

Sign in to join the discussion.

MIT Licensed