Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Big Data Analytics with Java

You're reading from  Big Data Analytics with Java

Product type Book
Published in Jul 2017
Publisher Packt
ISBN-13 9781787288980
Pages 418 pages
Edition 1st Edition
Languages
Concepts
Author (1):
RAJAT MEHTA RAJAT MEHTA
Profile icon RAJAT MEHTA

Table of Contents (21) Chapters

Big Data Analytics with Java
Credits
About the Author
About the Reviewers
www.PacktPub.com
Customer Feedback
Preface
Big Data Analytics with Java First Steps in Data Analysis Data Visualization Basics of Machine Learning Regression on Big Data Naive Bayes and Sentiment Analysis Decision Trees Ensembling on Big Data Recommendation Systems Clustering and Customer Segmentation on Big Data Massive Graphs on Big Data Real-Time Analytics on Big Data Deep Learning Using Big Data Index

Bar charts


A bar chart shows variations in quantity of some entity using rectangles either drawn vertically or horizontally on a chart. As you visualize the different lengths of rectangles on the chart, it is easy to figure out which category is more and which one is less. Bar charts have three main advantages:

  • You can see the data relationships in the x and y axes

  • You can easily compare the values among different categories

  • You can also use them to visualize trends

As an example, take a look at the following bar chart, which shows the number of cars made by different countries (as shown in cars.json dataset):

As you can see in the preceding chart, this dataset has a maximum number of cars from the UK followed by the USA, followed by Italy, and so on.

Let's explore this example further with the actual code. The cars.json dataset that is analyzed by the preceding chart, has the following format:

{"make_id":"abarth","make_display":"Abarth","make_is_common":"0","make_country":"Italy"}

{"make_id"...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime}