Skip to main content
100%

ExploreVLAPI

✓ Published0🌍 Public
Ssking8484
Last edited May 17, 2022
Created on May 16, 2022
Forked from Hello HTML

This example demonstrates how to build interactive visualizations using the Vega-Lite API within a React application. It loads automobile data from a remote JSON dataset and renders a scatterplot showing the relationship between miles per gallon and engine displacement, with color encoding for cylinders and faceting by origin. The visualization leverages the vega-lite-api library to construct the chart declaratively, while vega-tooltip enables hover interactions. Data is fetched asynchronously using a custom getData function, and the resulting chart is rendered as an SVG inside a React component.

AI-generated description

A bare minimum HTML page.

MIT Licensed

Similar vizzes