Skip to main content
100%

Fork of Barchart of Stock yields

✓ Published0🌍 Public
VVineela Reddy
Last edited Mar 22, 2023
Created on Mar 22, 2023

This horizontal bar chart ranks stock yields on the Macedonian Stock Exchange in 2020, with company names on the y-axis and yield percentage on the x-axis, sorted in descending order. It uses D3 v6’s `scaleLinear`, `scaleBand`, `axisBottom`, and `axisLeft` to render SVG rectangles and axes. Data is loaded from a CSV file, and each yield is computed from dividend divided by book value. The chart’s title, axis labels, and grid lines are styled via CSS.

AI-generated description
MIT Licensed

Similar vizzes