Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Iterating Fast with Vega Lite API

Public visualization

Viewing a saved revision (read-only)

711fa449810f48a3b190f285ef083179

Iterating Fast with Vega Lite API

0 stars0🌍 Public
Ssmsk2980
Last edited Apr 25, 2021
Created on Apr 25, 2021

This example visualizes the relationship between computer price, speed, ads, and screen size from an R dataset loaded via d3.csv. It uses the vega-lite-api to programmatically construct a scatter plot with circular marks, encoding price on the x-axis and speed on the y-axis, while color represents ads and size encodes screen. The visualization renders as SVG through Vega and Vega-Lite, with a custom dark theme config for improved readability and interactive tooltips provided by vega-tooltip.

AI-generated description

A visualization constructed using the vega-lite-api.