Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Loading Average Rent Prices Dataset

Public visualization

Loading Average Rent Prices Dataset

0 stars0🌍 Public
AAndrew Petit
Last edited Oct 25, 2021
Created on Oct 25, 2021

This example demonstrates loading a CSV file containing average U.S. rent prices from 2002 to 2022, then displaying a summary of the dataset as text. It uses `d3.csv` to parse the remote file and `d3.csvFormat` to calculate the file size in kilobytes, along with row and column counts. The message is rendered inside an HTML `<pre>` element with large font styling. If the fetch fails, the display shows a simple error message instead.

AI-generated description

About

This vizhub project contains a program that loads and parses a CSV file that contains information regarding average rent prices in all U.S. states and territories between the years 2002 and 2022: Average Rent Prices. More information about the dataset can be found in the linked github.gist.

Comments

Sign in to join the discussion.

MIT Licensed