Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Making a bar Chart

Public visualization

Viewing a saved revision (read-only)

ecf76e61344d40248bb48ea077b5165b

Making a bar Chart

0 stars0🌍 Public
MManinder Singh
Last edited May 2, 2020
Created on May 2, 2020

This SVG bar chart displays the relationship between two variables from the file data.csv, with bar heights proportional to the data values. The visualization is built using D3 version 5, where a single SVG element of 960 by 500 pixels is selected via the d3.select method, and its dimensions are parsed with parseFloat and the unary plus operator. The data is loaded asynchronously using the d3.csv function, and the chart is rendered in an HTML page that links to the D3 library from a CDN.

AI-generated description