gráfico de barras con SVG
✓ Published0🌍 Public
Aaaizemberg
Last edited Mar 18, 2019
Created on Mar 18, 2019
A bar chart displays six numeric values as horizontal steelblue bars with white strokes, each labeled with its value at the bar’s end. The chart uses a linear scale (`d3.scaleLinear`) to map the data domain to pixel widths, with bars positioned vertically using the index and fixed height derived from the container dimensions. Built with D3 v5, the SVG rendering appends `rect` elements with `title` tooltips and `text` labels, all within a 500×200 viewport. The data is hardcoded in the script as an array of numbers.
AI-generated description