🌍 Public
Viewing a saved revision (read-only)
2573ffa777164555b96c459d3e138bcb
Vertical bar chart
This example shows the profit percentage of a Dutch company across multiple years, from 2011 to 2018, along with a combined total. A vertical bar chart displays each year’s percentage as a green bar, with the years labeled on the x-axis and the percentage scale on the y-axis. The visualization is built with D3 v5 and Vue, using `d3.scaleLinear` for the y-axis, `d3.scaleBand` for the x-axis, and SVG rendering. Data is loaded from a local JSON file and filtered to include only the year and profit percentage before rendering.
AI-generated description