Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

3rd visualisation

Public visualization

Viewing a saved revision (read-only)

6d42e6e2e9d9472f869df63248d0b225

3rd visualisation

0 stars1🌍 Public
Vvenkatabhaskaratetali@my.unt.edu
Last edited Apr 21, 2024
Created on Apr 18, 2024
Forked from 2nd visualisation

This example shows a grouped bar chart comparing coal consumption and greenhouse gas emissions across different years. Using D3.js v7, the code loads data from a CSV file, groups it by year, and renders steelblue bars for coal consumption alongside orange bars for emissions. The SVG chart uses d3.scaleBand for the x-axis and d3.scaleLinear for the y-axis, with d3.axisBottom and d3.axisLeft for tick marks.

AI-generated description

A responsive scatter plot.