Skip to main content
100%

Activity 6

✓ Published0🌍 Public
Rrikhitakoganti12
Last edited Jun 29, 2023
Created on Jun 14, 2023
Forked from Hello VizHub

This example displays the first 10 rows of a CSV crop dataset as JSON text on a black background, using D3 v5 to load and format the data. The code imports `select`, `csv`, and `csvFormat` from D3, fetches the CSV via a gist URL, and appends a styled `<pre>` element to the body, with the file size computed in kilobytes.

AI-generated description

An example showing the capabilities of VizHub:

  • Loads D3 via UNPKG.
  • Demonstrates use of import from "d3".
  • Demonstrates use of import from local ES6 modules.
MIT Licensed

Similar vizzes