Skip to main content
100%

Smiles

✓ Published0🌍 Public
Gglennburger
Last edited Jan 14, 2022
Created on Jan 13, 2022
Forked from HTML Starter

This visualization plots automobile data as a scatterplot, using a circle mark for each vehicle. The horizontal axis maps origin, the vertical axis maps horsepower, with color encoding weight, size encoding miles per gallon, and a tooltip showing the car name. It is built with React and uses the vega-lite-api to construct the chart specification, rendering marks with a fixed size and partial opacity. The visualization relies on the `vl.markCircle`, `vl.x`, `vl.y`, `vl.color`, `vl.size`, and `vl.tooltip` APIs to define the encoding.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

MIT Licensed

Similar vizzes