Technology Fundamentals

This book assumes that you have a working knowledge of HTML, CSS, and JavaScript, which are essential tools for creating visualizations with Chart.js. All examples in the book are written with JavaScript ES2015 or ES6. One of the goals of this chapter is to review the fundamental topics of these technologies. This includes JavaScript topics related to string, object, and array manipulation, the HTML document object model (DOM), basic JQuery, CSS selectors, and HTML canvas. You can, of course, skip these sections if you already feel comfortable with these technologies.

This chapter also describes popular data formats used in visualizations, such as CSV, XML, and JSON, and how to load, parse, and use external data files in these formats in your Web pages. You will also learn how to set up a small testing Web server to run files that load external resources.

The final section contains some tips on how to obtain and prepare data for your visualizations, how to convert HTML data into standard formats, and how to extract selected information from HTML pages.

In this chapter, you will learn about the following:

  • Essential JavaScript for Chart.js
  • Other technologies: DOM, CSS, JQuery, and Canvas
  • Data formats
  • How to load and parse external data files
  • How to extract and transform data

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset