Skip to main content
100%

Loading Data with React & D3 (working)

✓ Published0🌍 Public
Kkeitheade
Last edited Nov 2, 2021
Created on Nov 1, 2021
Forked from Delete me

This example shows a React component that loads a CSV file of network device information—including hostname, IP address, MAC address, and interface—and displays the text "data is" once the asynchronous call completes. It uses React’s `useState` hook to manage the loaded data and D3’s `csv` function from d3.v7 to fetch and parse the remote `data.csv` file. The rendered output is minimal, focusing on the data-loading pattern rather than any visualization.

AI-generated description

load and parse d3 and fetch

MIT Licensed

Similar vizzes