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)

2b4e28acdd68433898e0a2fa8260310f

Fork of Vega-Lite API Template

0 stars0🌍 Public
EEngineerRajeev
Last edited Nov 8, 2021
Created on Nov 8, 2021

This visualization displays patient data, plotting total hospital stay against number of visits, with color encoding for patient category, point size for sepsis flag, and tooltips revealing patient identifiers. It uses the Vega-Lite API to declare the circle mark and encodings, with vega and vega-lite handling rendering and the Handler from vega-tooltip providing interaction. Data is loaded asynchronously via d3.csv from a GitHub-hosted CSV file. The chart fits to the window size and applies custom axis and label styling from a config object.

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.