Skip to main content
100%

Assignment_2.2

✓ Published0🌍 Public
VVishnu Mallampalli
Last edited Jul 11, 2024
Created on Jul 11, 2024
Forked from Hello VizHub

This example displays a global renewable energy production area chart, using a dataset of countries and their total renewable energy output. The D3.js v7 code fetches CSV data from a GitHub repository, parses it with `d3.csvParse`, and renders a single area path using the `d3.area` generator. The visualization includes a rotated x-axis for country labels via `d3.axisBottom` and a linear y-axis for energy values, all rendered as SVG within a styled HTML page.

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