Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

ic6: cost of bikes data

Public visualization

Viewing a saved revision (read-only)

80b7ead490264e9480ac8936cf5d76fd

ic6: cost of bikes data

0 stars1🌍 Public
Ddivyagunuguntla
Last edited Mar 8, 2022
Created on Mar 8, 2022

This chart displays the cost of various bikes using a horizontal bar chart, with bike names on the y-axis and dollar amounts on the x-axis. The bars are rendered as SVG rectangles colored green, with axes generated using D3 v5’s `scaleLinear`, `scaleBand`, `axisLeft`, and `axisBottom`. The data is loaded from a CSV file via `d3.csv` and parsed to numeric cost values. The visualization demonstrates custom axis formatting with `format` and removal of domain lines for a cleaner presentation.

AI-generated description

This bar chart shows population of the top 10 most populous countries. The data comes from the year 2018 estimate in United Nations: World Population Prospects 2017. It also demonstrates customization of D3 axes.