Skip to main content
100%

HR

✓ Published0🌍 Public
Qqhfzwyx
Last edited Apr 26, 2020
Created on Apr 26, 2020

This scatterplot shows the relationship between employee age and daily rate, with points colored by education level. The visualization uses a plain point mark with reduced opacity to reveal overlapping data density, and disables the axis domain lines for a cleaner appearance. It loads HR data from a CSV file using D3’s `csv` function, and builds the chart declaratively through the `vega-lite-api`, registering it with `vega` and `vega-lite`. Tooltips are enabled via `vega-tooltip`’s `Handler`, and the chart resizes to fit the window with a custom dark-themed configuration.

AI-generated description

A visualization constructed using the vega-lite-api.

MIT Licensed

Similar vizzes