Git Product home page Git Product logo

pro-d3.js's Introduction

Apress Source Code

This repository accompanies Pro D3.js by Marcos Iglesias (Apress, 2019).

Cover image

What’s in This Repository?

We divided this book into 12 chapters. Here they are:

  • ch01 - Introduction to data visualizations with D3.js – describes why D3.js and ES2015+ are the best options for creating data visualizations for the web.
  • ch02 - An Archetypal D3.js Chart – analyses a typical D3.js chart example, walking through its code and reviewing the benefits and drawbacks of this approach.
  • ch03 - D3.js Code Encapsulation and APIs – introduces different strategies developers use to encapsulate D3.js code, illustrating them with real-world library examples, and advising how to pick one of them.
  • ch04 - The reusable API – presents this code pattern, which allows composable, extendable, configurable, and testable D3.js code encapsulation. It also discusses its advantages and drawbacks and how to overcome them.
  • ch05 - Making the Bar Chart Production-ready – walks through the steps necessary to take the initial archetypal example and transform it into a professional and reusable chart.
  • ch06 - Britecharts – introduces Eventbrite’s charting library, a set of charts and support components that follow the previous principles to help developers explore and interpret data.
  • ch07 - Using and Customizing Britecharts – goes deep in the day by day use of Britecharts, showing how to compose the library components together to create compelling data visualizations.
  • ch08 - Extending a Chart – extends the previous chapter by teaching how to extend Britecharts, modifying a chart, its documentation, and sending a pull request to contribute to the project.
  • ch09 - Testing Your Charts – reviews on how to leverage the Reusable API pattern to test-drive a chart, using the initial bar chart as an example.
  • ch10 - Building Your Library – illustrates how to build and publish an open-source charting library using Webpack, Babel, and npm.
  • ch11 - Creating Documentation – demonstrates the generation of documentation from source code comments, using GitHub pages to host the docs and ESLint to enforce annotations.
  • ch12 - Using Your Library with React – explores how to use D3.js within React.js applications, exploring different strategies and putting into practice one of them.

Usage

Download the files as a zip using the green button, or clone the repository to your machine using Git.

Releases

Release v1.0 corresponds to the code in the published book, without corrections or updates.

Contributions

See the file Contributing.md for more information on how you can contribute to this repository.

pro-d3.js's People

Contributors

golodhros avatar miglesiaseb avatar julianstanley avatar

Watchers

James Cloos 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.