Fork of Hello VizHub
✓ Published0🌍 Public
This example shows a simple cat face drawn with D3 shapes, including a head, eyes, nose, mouth, ears, and whiskers, all assembled using SVG elements such as `circle`, `ellipse`, `path`, `polygon`, and `line`. The visualization demonstrates D3’s `select` and append methods to build the graphic in a React component. It also fetches a CSV file of car data from a GitHub gist, reporting the file size, row count, and column count in a message. The code loads D3 v7 via UNPKG and renders entirely as SVG.
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