Fork of Barchart of Stock yields
✓ Published0🌍 Public
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 descriptionMIT Licensed