🌍 Public
Viewing a saved revision (read-only)
67b6154cf5824bcd9c7cb235c727f6cc
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