Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fun with Vega-Lite API Template

Public visualization

Viewing a saved revision (read-only)

c8ab1a7bb10c45d6879a46f78b04acae

Fun with Vega-Lite API Template

0 stars0🌍 Public
BBrittany Harden
Last edited Dec 10, 2022
Created on Dec 10, 2022

A line chart shows the U.S. 30-year fixed-rate mortgage average from the St. Louis Fed, drawn with the vega-lite-api library. The visualization uses a time-encoded x-axis and a quantitative y-axis without a zero baseline to emphasize rate fluctuations. Data loads asynchronously via d3.csv from a Gist, and the chart renders to SVG with a custom config for larger axis labels and tooltips. Vega-Lite API registers Vega, Vega-Lite, and d3, while vega-tooltip provides interactive hover details for each date and rate value.

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.