🌍 Public
Viewing a saved revision (read-only)
bb8c684c006f4fdabd6f8cee543187d6
Teste com vega lite api v1
This example renders a scatter plot of automotive data using the vega-lite-api, with each point representing a vehicle from a CSV dataset loaded via d3.csv. The chart visualizes horsepower against weight, colored by country of origin, and includes tooltips showing vehicle names. The visualization leverages vega-lite-api’s programmatic API to encode marks, while the vega and vega-lite libraries handle rendering, with a custom config for axis styling and vega-tooltip for interactivity. The plot fills the viewport using autosize and an SVG renderer.
AI-generated descriptionA visualization constructed using the vega-lite-api.