Skip to main content
Public

Share visualization

Loading preview…

Scatterplot 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

Scatterplot of Stock yields

0
CChinzorigt Ganbat
Last edited Sep 18, 2020
Created on Sep 18, 2020

A scatterplot displays stock yields for 13 companies on the MSE in 2020, calculating each yield as dividend divided by book value and sorting companies in descending order. Circles are positioned using d3.scaleLinear for the x-axis and d3.scalePoint for the categorical y-axis, with axes rendered via d3.axisBottom and d3.axisLeft. The code loads data from a CSV file with d3.csv and uses SVG rendering with d3.v6.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed