Smiles
✓ Published0🌍 Public
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 descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.
MIT Licensed