Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Vega-Lite API Template

Public visualization

Viewing a saved revision (read-only)

ecb58b6b44384180b478e5059828da49

Fork of Vega-Lite API Template

0 stars0🌍 Public
MMuhammadAaqib137
Last edited Apr 4, 2021
Created on Apr 4, 2021

This example visualizes trading-day data as a scatterplot, mapping the trading day on the x-axis, trading time on the y-axis, and encoding color by count and circle size by percentage of buy orders, with tooltips showing buy counts. It uses the Vega-Lite API (`vl.markCircle`, `vl.encode`) with D3’s `csv` loader to fetch data from a GitHub-hosted CSV file. The visualization is rendered as SVG via Vega, with custom config for improved readability and a Vega Tooltip handler for interactivity.

AI-generated description

A visualization constructed using the vega-lite-api.