Code Monkey home page Code Monkey logo

mastering-d3's Introduction

Mastering D3.js

Code examples for the book Mastering D3.js, published in August 2014 by Packt Publishing.

book cover

About the Book

This is a practical guide with real-world examples that will help you to create custom charts, and integrate them with third-party libraries to create rich, engaging data-driven applications. Starting with the reusable chart pattern, we will take you through designing and creating complex, real-time data visualizations.

You will learn how to create reusable D3-based charts and integrate them into data visualization projects. You will get to know how to create and distribute a custom charting package. You will get acquainted with how to integrate D3 with mapping libraries to provide reverse geocoding and interactive maps. This book culminates by showing you how to create enterprise-level das hboards to display real-time data.

The book is available in paperback and as DRM-free ebook (mobi, epub and PDF versions) at Packt Publishing, Amazon, Barnes and Noble and O'Reilly.

Downloads

The files are distributed in two versions, ready to use HTML files and the original source code, written in Jekyll.

The code can also be downloaded using git:

$ git clone https://github.com/pnavarrc/mastering-d3.git

Instructions

HTML Version

Download the HTML version of the code bundle and unzip the contents. From the project directory, serve the contents using a static server. Using Python, the files can be served by running:

$ python -m SimpleHTTPServer 

And opening the web browser at http://localhost:8000/. With node, the project files can be served by running the command:

$ http-server

and opening the browser at http://localhost:8080/. The port number may be different across systems, but the address is displayed in the console after running the command.

Jekyll Version

Install Jekyll and the rdiscount package:

$ [sudo] gem install jekyll rdiscount

From the project directory, run the following command:

$ jekyll serve --baseurl=

and then open the browser at http://localhost:4000. The port number can be different, but it will be displayed in the console after running the command.

mastering-d3's People

Contributors

froissant avatar pnavarrc avatar

Watchers

 avatar  avatar

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.