Fork of D3 Starter
✓ Published0🌍 Public
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 descriptionMIT Licensed