Reader small image

You're reading from  Hands-On Data Visualization with Bokeh

Product typeBook
Published inJun 2018
Reading LevelIntermediate
PublisherPackt
ISBN-139781789135404
Edition1st Edition
Languages
Tools
Right arrow
Author (1)
Kevin Jolly
Kevin Jolly
author image
Kevin Jolly

Kevin Jolly is a formally educated data scientist with a master's degree in data science from the prestigious King's College London. Kevin works as a statistical analyst with a digital healthcare start-up, Connido Limited, in London, where he is primarily involved in leading the data science projects that the company undertakes. He has built machine learning pipelines for small and big data, with a focus on scaling such pipelines into production for the products that the company has built. Kevin is also the author of a book titled Hands-On Data Visualization with Bokeh, published by Packt. He is the editor-in-chief of Linear, a weekly online publication on data science software and products.
Read more about Kevin Jolly

Right arrow

Preface

Bokeh is an open source, interactive, data visualization package in Python that allows users to create interactive and beautiful visualizations that are both statistically significant and aesthetically pleasing.

This book aims to provide you with the tools needed to get started with Bokeh and to create plots that can tell a story through interaction.

Who this book is for

This book is well suited for data scientists and data analysts who wish to perform interactive data visualization on their web browsers using the Bokeh library.

A basic knowledge of Python is required in order to understand the content of this book.

What this book covers

Chapter 1, Bokeh Installation and Key Concepts, looks at how to install Bokeh on your PC and how to understand the fundamental concepts that are needed to progress with the rest of the book.

Chapter 2, Plotting Using Glyphs, will teach you how to create visualizations using the building block of Bokeh—Glyphs.

Chapter 3, Plotting with Different Data Structures, explains how to create visualizations using data structures that are found ubiquitously, such as the Pandas DataFrame and the NumPy array.

Chapter 4, Using Layouts for Effective Presentation, explores how to use layouts in order to enhance the aesthetic appeal of your visualizations.

Chapter 5, Using Annotations, Widgets, and Visual Attributes for Visual Enhancement, will teach you how to enhance your plot's interactivity as well as its aesthetics.

Chapter 6, Building and Hosting Applications on the Bokeh Server, goes through how to create and deploy applications that can host interactive visualizations.

Chapter 7, Advanced Plotting with Networks, Geo Data, WebGL, and Exporting Plots, dives into the advanced topics of Bokeh and sheds light on some of the ways in which you can enhance your interactive plotting experience.

Chapter 8, The Bokeh Workflow – A Case Study, comprises a case study that will have you explore data and build an interactive visualization by following a workflow that is tailored for Bokeh!

To get the most out of this book

A basic knowledge of Python is essential. Knowledge of importing packages, and experience of working with NumPy, Pandas, and DataFrames, will help the reader get the most out of this book.

Download the example code files

You can download the example code files for this book from your account at www.packtpub.com. If you purchased this book elsewhere, you can visit www.packtpub.com/support and register to have the files emailed directly to you.

You can download the code files by following these steps:

  1. Log in or register at www.packtpub.com.
  2. Select the SUPPORT tab.
  3. Click on Code Downloads & Errata.
  4. Enter the name of the book in the Search box and follow the onscreen instructions.

Once the file is downloaded, please make sure that you unzip or extract the folder using the latest version of:

  • WinRAR/7-Zip for Windows
  • Zipeg/iZip/UnRarX for Mac
  • 7-Zip/PeaZip for Linux

The code bundle for the book is also hosted on GitHub at https://github.com/PacktPublishing/Hands-on-Data-Visualization-with-Bokeh. If there's an update to the code, it will be updated on the existing GitHub repository.

We also have other code bundles from our rich catalog of books and videos available at https://github.com/PacktPublishing/. Check them out!

Download the color images

Code in action

Conventions used

There are a number of text conventions used throughout this book.

CodeInText: Indicates code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles. Here is an example: "We had to set the x-axis type to datetime in the figure function in order to render dates along the x-axis".

A block of code is set as follows:

#Output the plot

output_file('second_plot.html')

show(plot2)

Any command-line input or output is written as follows:

bokeh serve --show bokeh.py

Bold: Indicates a new term, an important word, or words that you see on screen. For example, words in menus or dialog boxes appear in the text in bold. Here is an example: "We will be working with the S&P 500 stock data found on Kaggle."

Warnings or important notes appear like this.
Tips and tricks appear like this.

Get in touch

Feedback from our readers is always welcome.

General feedback: Email feedback@packtpub.com and mention the book title in the subject of your message. If you have questions about any aspect of this book, please email us at questions@packtpub.com.

Errata: Although we have taken every care to ensure the accuracy of our content, mistakes do happen. If you have found a mistake in this book, we would be grateful if you would report this to us. Please visit www.packtpub.com/submit-errata, selecting your book, clicking on the Errata Submission Form link, and entering the details.

Piracy: If you come across any illegal copies of our works in any form on the internet, we would be grateful if you would provide us with the location address or website name. Please contact us at copyright@packtpub.com with a link to the material.

If you are interested in becoming an author: If there is a topic that you have expertise in and you are interested in either writing or contributing to a book, please visit authors.packtpub.com.

Reviews

Please leave a review. Once you have read and used this book, why not leave a review on the site that you purchased it from? Potential readers can then see and use your unbiased opinion to make purchase decisions, we at Packt can understand what you think about our products, and our authors can see your feedback on their book. Thank you!

For more information about Packt, please visit packtpub.com.

lock icon
The rest of the chapter is locked
You have been reading a chapter from
Hands-On Data Visualization with Bokeh
Published in: Jun 2018Publisher: PacktISBN-13: 9781789135404
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.
undefined
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

Author (1)

author image
Kevin Jolly

Kevin Jolly is a formally educated data scientist with a master's degree in data science from the prestigious King's College London. Kevin works as a statistical analyst with a digital healthcare start-up, Connido Limited, in London, where he is primarily involved in leading the data science projects that the company undertakes. He has built machine learning pipelines for small and big data, with a focus on scaling such pipelines into production for the products that the company has built. Kevin is also the author of a book titled Hands-On Data Visualization with Bokeh, published by Packt. He is the editor-in-chief of Linear, a weekly online publication on data science software and products.
Read more about Kevin Jolly