Skip to main content
100%

A Bar Chart - Part two

✓ Published1🌍 Public
NNemastoja
Last edited Feb 6, 2021
Created on Feb 4, 2021

This horizontal bar chart compares salary figures across four financial job roles, with salaries arranged along the x-axis and role names on the y-axis. The visualization uses D3 v5, importing functions like `scaleLinear`, `scaleBand`, `axisLeft`, and `axisBottom` to construct the plot. Data is loaded from a CSV file and rendered as SVG rectangles with a fixed green fill. The chart includes labeled axes, a custom x-axis tick format using `format('.1s')`, and styled grid lines, with the y-axis labels and domain lines removed for a cleaner look.

AI-generated description
MIT Licensed

Similar vizzes