Skip to main content
100%

Module 2 exercice

✓ Published0🌍 Public
TThomasSeymat
Last edited Mar 31, 2015
Created on Mar 31, 2015

This example displays a static SVG composition of circles, lines, rectangles, and text, overlaid with data loaded from a CSV file. The code uses D3 v3’s `d3.csv` to parse the GreenEnergyEU dataset into an array of JSON objects, logging it to the console for verification. The SVG elements—such as the pink circle, orange and blue lines, red rectangle, and bold navy text—are drawn directly in the HTML markup, while the CSV data is not yet bound to any visual encoding. The rendering approach relies on SVG primitives, with no dynamic scales or transitions implemented.

AI-generated description

Similar vizzes