Untitled
✓ Published0🌍 Public
This example demonstrates loading a remote CSV dataset with D3’s `csv` method and displaying the first ten rows as formatted JSON in the browser. It uses `select` and `append` from D3 to create `<pre>` elements, and leverages `csvFormat` to calculate the dataset’s size in kilobytes. The code also showcases local ES6 module imports via an exported `message` variable, though the message itself is not rendered. The data comes from a GitHub Gist URL.
AI-generated descriptionAn example showing the capabilities of VizHub:
- Loads D3 via UNPKG.
- Demonstrates use of
importfrom"d3". - Demonstrates use of
importfrom local ES6 modules.
MIT Licensed