Vega-Lite API Template
✓ Published0🌍 Public
This example displays a scatter plot of Miners’ Deaths data from a CSV file, with the Year on the x-axis and Deaths on the y-axis, using circular marks and tooltips. The visualization is built with the vega-lite-api library, which wraps Vega-Lite and Vega, and is rendered as an SVG via the d3 v5 loader. The code customizes axis and label styling through a config object, and incorporates vega-tooltip for interactive hover details. The plot automatically fits the window dimensions.
AI-generated descriptionA visualization constructed using the vega-lite-api.
MIT Licensed