🌍 Public
Viewing a saved revision (read-only)
31a9ba8101284d9db2ab78338af50d64
Untitled
This example loads a CSV dataset of apartment listings from a GitHub gist and counts the number of entries with type "apartment." The code logs the dataset length, the baths value of the first record, and the total apartment count to the browser console. It uses d3.csv from D3 v5 to fetch and parse the data, then iterates through rows with a for loop and forEach to collect property types and tally apartments. No visual rendering is performed; the visualization is purely a data-inspection exercise.
AI-generated description