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)

a12aea90839c492eb76c8c8b5f46cd44

Fork of Vega-Lite API Template

0 stars1🌍 Public
Yyijunqian
Last edited Sep 17, 2021
Created on Aug 18, 2021

This example visualizes the relationship between patients' NoShowRate and RiskScore, using color to indicate RiskLevel and shape to distinguish In-Care status. The visualization is built with the Vega-Lite API, a programmatic interface for Vega-Lite specifications, and renders through Vega and D3. Data comes from a CSV file loaded via D3’s `csv` function, sourced from UCI Machine Learning Repository’s Auto MPG dataset. The code demonstrates how to compose an interactive scatter plot with custom tooltips and a dark-themed configuration for improved readability.

AI-generated description

A visualization constructed using the vega-lite-api.

The data shown here comes from the UCI Machine Learning Repository: Auto MPG Data Set, via Gist: Scatter Plot with Menus.