Data Dashboards with JavaScript: Learn how to build data dashboards with Chart.js, Leaflet and React

Data Dashboards with JavaScript: Learn how to build data dashboards with Chart.js, Leaflet and React
book cover

Data Dashboards with JavaScript: Learn how to build data dashboards with Chart.js, Leaflet and React

Author(s): Peter Cook (Author)

  • Publisher finelybook 出版社: leanpub
  • Publication Date 出版日期: 2025-02-21
  • Language 语言: English
  • Print length 页数: 240 pages

Book Description

Data Dashboards with JavaScript shows how to data dashboards with JavaScript.

You'll learn how to build a data dashboard using charting library Chart.js, mapping library Leaflet and UI library React. View the dashboard you'll learn to build.

Some of the topics covered are:

  • creating a web application with JavaScript

  • the Vite build tool

  • making a chart with Chart.js

  • using Tidy.js to process data

  • styling Chart.js charts, including dark theme, multi-line charts and stacked bar charts

  • introduction to Leaflet for creating maps

  • how to make a data-driven map with Leaflet

  • introduction to React

  • how to make a data dashboard using React, Chart.js and Leaflet

  • how to create an API for the dashboard

  • how to deploy the dashboards

  • how to transform the data from the UK Government into a JSON file

Some of the chapters include exercises and solutions.

There's a code download containing ten examples, including multiple Chart.js examples, a data-driven Leaflet map, a data-dashboard, a client-server data dashboard and a data-wrangling example.

To get the most out of this book you need to be familiar with HTML, SVG, CSS and JavaScript. If you need to get up to speed with these languages I recommend my book Fundamentals of HTML, CSS, SVG & JavaScript for Data Visualisation. I've bundled both books together at a reduced cost (visit bundle).

You also need a text editor (such as VS Code) and an installation of Node.js.

This book uses ES Modules and modern build-tools throughout so you'll learn about current technologies.

I've also published Visualising Data with JavaScript which shares some chapters with this book but doesn't cover data dashboards or React. Instead it has chapters on D3 and Data Stories.

About the Book

Peter Cook has built data visualisations for Carbon TrackerLondon Datastore and McGraw Hill Education. He currently works as a senior visualisation developer at Flourish and also writes about the how-to of data visualisation for Create With Data.

He's run training courses for clients such as the BBC and The Economist and written data visualisation tutorials for Flowing Data and Creative Bloq. He created D3 in Depth and Create With Data.

He's the author of four books: Visualising Data with JavaScriptData Dashboards with JavaScriptD3 Start to Finish and Fundamentals of HTML, CSS, SVG & JavaScript for Data Visualisation.

Amazon Page

下载地址

PDF, EPUB | 10 MB | 2025-10-07
下载地址 Download解决验证以访问链接!
打赏
未经允许不得转载:finelybook » Data Dashboards with JavaScript: Learn how to build data dashboards with Chart.js, Leaflet and React

评论 抢沙发

觉得文章有用就打赏一下文章作者

您的打赏,我们将继续给力更多优质内容

支付宝扫一扫

微信扫一扫