Skip to main content
100%

ABNB Revenue - Vertical Bar Chart

✓ Published1🌍 Public
Eemberix@gmail.com
Last edited Dec 5, 2020
Created on Dec 3, 2020
Forked from ABNB Revenue

This vertical bar chart displays ABNB revenue by year from 2015 to 2019, using a dark steel-blue line and circular points to emphasize the upward trend. The visualization loads data from revenue.csv via d3.csv, then maps years to a d3.scaleBand x-axis and revenue to a d3.scaleLinear y-axis with a reversed domain. It renders as an SVG with d3.axisLeft and d3.axisBottom for ticks, while a d3.line generator with curveBasis connects the data points. Axis labels and a title are added using SVG text elements.

AI-generated description

My first d3 attempt to visualise ABNB revenue from the pre-IPO S-1.

MIT Licensed

Similar vizzes