Skip to main content
100%

AXIS

✓ Published0🌍 Public
HHan Jinseok
Last edited May 10, 2022
Created on May 10, 2022
Forked from D3 Starter

This example demonstrates a simple bar chart with a labeled x-axis ranging from 0 to 100. The axis is placed at a fixed vertical position using SVG transforms, with a single semi-transparent blue bar anchored at the value 50. Built with D3 version 7, it uses `d3.scaleLinear` to map data values to pixel coordinates and `d3.axisBottom` to render the tick marks and labels. The visualization is drawn as an SVG element with a background color, highlighting the basic workflow of creating scales and axes.

AI-generated description

A demonstration of how to start using D3 version 6.

MIT Licensed

Similar vizzes