Skip to main content
100%

Bar Chart

✓ Published1🌍 Public
MMert Gürkan
Last edited Feb 16, 2021
Created on Jul 14, 2020
Forked from moodchange

A bar chart displays dummy data with nine index-value pairs, using a linear color scale for fill intensity so higher values appear darker blue. The chart renders bars in an SVG, with a quantitative x-axis and categorical y-axis, and includes titles and gridlines. The implementation uses d3.csv to load data, d3.scaleLinear for both the color interpolation and x-axis domain, d3.scaleBand for the y-axis, and d3.axisLeft and d3.axisBottom with tick formatting for readable labels.

AI-generated description

a bar chart w/ dummy data

used scaleLinear for color interpolation so that the data instances with higher values are colored in darker blue

MIT Licensed

Similar vizzes