🌍 Public
Viewing a saved revision (read-only)
437e5a6ba4c8480d823fc02b477bc3a3
Let's make a face with D3.js
This example uses D3.js v5 to render a face inside an SVG element. The code loads GDP data from a JSON file via the `d3.json` method and constructs an SVG scene. It builds the visualization within a React framework, using D3’s selection and data-handling functions. The HTML page includes a stylesheet and an external script bundle, and the design is minimal, with the SVG sized at 960 by 500 pixels.
AI-generated descriptionA bare minimum HTML page.
See also React Starter.