🌍 Public
Viewing a saved revision (read-only)
83d8fdd32ae8463d8874b949ee1526f9
Fork of D3 Starter
This example displays the first five rows of a shapes dataset in a styled HTML table. It fetches a remote CSV file and renders its columns and rows using the D3.js library’s `d3.csv` method and DOM selection API. The table features a dark blue header, alternating row colors, and hover highlighting via inline CSS. The code explicitly uses `d3.select`, `d3.append`, and `.data()` to build the table structure, while pulling data from a Gist-hosted CSV containing columns like Shape, Color, and Number of Sides.
AI-generated description