Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Vega-Lite API Template

Public visualization

Viewing a saved revision (read-only)

8a6071d1c7b348f2bf2bd6c6563a2d42

Vega-Lite API Template

0 stars0🌍 Public
Qqhfzwyx
Last edited Apr 26, 2020
Created on Apr 26, 2020

This example visualizes the relationship between TotalWorkingYears and WorkLifeBalance from an HR dataset, with each point representing an employee and tooltips revealing their names. The visualization is built using the Vega-Lite API, which registers with Vega and Vega-Lite to generate an SVG rendering. It loads CSV data via d3.csv, applies custom axis and label styling from a config object, and uses the Vega Tooltip handler for interactive hover information. The chart fits the full browser window with an auto-size setting.

AI-generated description

A visualization constructed using the vega-lite-api.