Skip to main content
100%

Let's make a face with D3.js!

✓ Published1🌍 Public
KKuerzibe
Last edited Mar 8, 2019
Created on Mar 8, 2019

This example displays a bar chart of character names and their numeric values, encoded as steel-blue rectangles on an SVG canvas. Using D3 v5, it loads data from a CSV file and scales the values linearly, while a band scale positions the names along the vertical axis. The code leverages `d3.csv`, `scaleLinear`, `scaleBand`, `axisLeft`, and `axisBottom` to render the axes and bars. The dataset is transformed by multiplying each value by 1000 before visualization.

AI-generated description
MIT Licensed

Similar vizzes