Data table
This example displays tabular data from a JSON file as an HTML table, with columns for each data key and rows for each object. The code uses `d3.json` to load the data and d3 selections such as `selectAll`, `enter`, and `append` to construct the `table`, `thead`, `tbody`, `th`, `tr`, and `td` elements. It maps over the data’s columns and rows dynamically to populate the cells, demonstrating a straightforward data-binding workflow in D3 v6 with React’s file structure.