Skip to main content
Public

Share visualization

Loading preview…

Barchart of Stock yields

vizhub.com

Shared links may look like this on X, LinkedIn, Slack, and Discord.

Before sharing, review the publishing checklist.

Choose how to deliver this visualization

LinkedIn caption

LinkedIn may not keep text supplied by the share sheet. Copy the caption and paste it into the post if needed. You can tag the VizHub company page when posting.

More options

Embed on a websiteCopy iframe embed code
Download & exportPNG, HTML, source ZIP

Barchart of Stock yields

7
CChinzorigt Ganbat
Last edited Sep 18, 2020
Created on Sep 18, 2020
Forked from Making a Bar Chart

This bar chart displays the stock yields on the Macedonian Stock Exchange in 2020, comparing the dividend-to-book-value ratio across companies. The data is loaded from a CSV file and sorted in descending order. Using D3 v6, the visualization employs `scaleLinear` for the x-axis, `scaleBand` for the y-axis categories, and `axisLeft` and `axisBottom` to render the axes, with the yield formatted as a percentage. The chart is rendered as SVG with steel-blue bars.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed