DEV Community

Cover image for How to create a JavaScript scatter plot (visualizing cat/dog popularity in the US)
andreykh
andreykh

Posted on • Originally published at anychart.com

1 2

How to create a JavaScript scatter plot (visualizing cat/dog popularity in the US)

A scatter plot is a great way to visualize data. In this chart type, data is represented as points on a Cartesian plane where the X and Y coordinate of each point represents a variable. Scatter charts let you explore the relationship between two variables, detect outliers in the data set, and identify trends. They are among the most commonly used data visualization techniques and a must have for your data visualization development arsenal.

This tutorial teaches how to build your very own interactive scatter plot charts using JavaScript.

Ever wondered whether the population of the United States of America were dog people? And you are just about to find out! To help you learn more about building scatter plots, let's take the Cat vs Dog Popularity in US dataset from Data.world. It contains the percentage of homes with cats and dogs in the United States...

Check out the tutorial here.

Heroku

Simplify your DevOps and maximize your time.

Since 2007, Heroku has been the go-to platform for developers as it monitors uptime, performance, and infrastructure concerns, allowing you to focus on writing code.

Learn More

Top comments (0)