Giter Club home page Giter Club logo

the-data-visualization-workshop's Introduction

The Data Visualization Workshop

GitHub issues GitHub forks GitHub stars PRs Welcome versions

This is the repository for The Data Visualization Workshop, published by Packt. It contains all the supporting project files necessary to work through the course from start to finish.

Requirements and Setup

The Data Visualization Workshop

To get started with the project files, you'll need to:

  1. Install Jupyter on Windows, Mac, Linux
  2. Install Anaconda on Windows, Mac, Linux

Please note that there are no code files for Chapter 2 and hence there is no corresponding files are uploaded in this repositories.

About The Data Visualization Workshop

The Data Visualization Workshop will help you get started with data visualization, giving you the confidence to choose the best visualization technique to suit your needs. Fun activities and exercises featured throughout the book will keep you engaged as you build interactive visualizations with real data.

What you will learn

  • Understand the importance of data visualization in data science
  • Implement NumPy and pandas operations on real-life datasets
  • Create captivating data visualizations using plotting libraries
  • Use advanced techniques to plot geospatial data on a map
  • Integrate interactive visualizations to a webpage
  • Visualize stock prices with Bokeh and analyze Airbnb data with Matplotlib

Related Workshops

If you've found this repository useful, you might want to check out some of our other workshop titles:

the-data-visualization-workshop's People

Contributors

adityashah95 avatar dependabot[bot] avatar madhunikitac avatar maheshpackt avatar mariodoebler avatar packtsupport avatar timgrossmann avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

the-data-visualization-workshop's Issues

Incorrect path for data import in Chapter 1

Description

The import of dataset fails for a lot of provided notebooks in chapter 1 (OSErrorin case of numpy usage, FileNotFoundError in case of pandas usage). This is due to the fact, that the affected notebooks refer to the data as if it would reside in the same directory like in Exercise1.01):

dataset = np.genfromtxt('./Datasets/normal_distribution.csv' ... )

Proposed Solution

Adjust the relative path for file imports like already done in Exercise1.02 to

dataset = np.genfromtxt('../../Datasets/normal_distribution.csv' ... )

Tasks

Missing Chapter 02

Hi! Chapter 02 with relative exercises and activities are missing! Cheers

Malformed Notebook (7.03)

Description

The Jupyter notebook of Activity 7.03 can't be loaded and the following error is thrown:

Unreadable Notebook: .../Data-Visualization-with-Python/Chapter07/Activity7.03/Activity7.03.ipynb NotJSONError('Notebook does not appear to be JSON: \'{\\n "cells": [\\n {\\n "cell_type": "m...')

Proposed Solution

Find the malformed section and fix the notebook

Tasks

Missing Dataset: Tips

Hello, I am trying to do exercise 3.03, visualizing the restaurant tips data in a stacked barchart.

However, I cannot find the raw tips.cvs data anywhere... ๐Ÿค”

Error when applying numpy.hsplit and numpy.vsplit

Description

The showcase in Exercise 1.02 throws a TypeError (when applying hor_split = np.hsplit(dataset, (3))) followed by a NameError (when applying np.vsplit(hor_splits[0],(2)). The first error is due to the fact, that the dataset has a shape of (24,8) which can't be split evenly via np.hsplit(..., (3)). The second error is due to the failure to assign hor_split.

Proposed Solution

The simplest solution would be to reassign dataset to the transpose of itself (dataset = dataset.T).

Tasks

Exercise 6.04 fails at the last command

While running your script (works well) however at the last line [12]

creating the dropdown interaction and building the plot

based on selection

@interact(Stock=stock_names)
def get_stock_for(Stock='AAPL'):
stock = dataset[dataset['symbol'] == Stock][:25]
show(get_plot(stock))

I am getting the following error

AttributeError: unexpected attribute 'legend_label' to Line, possible attributes are js_event_callbacks, js_property_callbacks, line_alpha, line_cap, line_color, line_dash, line_dash_offset, line_join, line_width, name, subscribed_events, tags, x or y

I am using MacOS Mojave and Python 3.7.4

Thank you,
CA

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.