From the course: DC.js for Data Science Essential Training

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Downloading dc.js with its dependencies

Downloading dc.js with its dependencies - JavaScript Tutorial

From the course: DC.js for Data Science Essential Training

Start my 1-month free trial

Downloading dc.js with its dependencies

- [Voiceover] We're going to create a template HTML page now and put some CSS declarations into it. Create a new HTML file and save as template.html. Then copy what's on the screen. Now we're going to add some style tags to the head, which will contain our internal CSS, and this is just to make your webpage and my webpage look the same, regardless of which browser you're using. So, we'll write the first declaration which will apply to the body element and the HTML element and we say height 100, margin naught, padding naught, and then we're going to write another declaration that will apply to all div elements. And this one we have to repeat a couple of times for different browsers to understand it and it's called border-box. So that's the Firefox declaration, and the general declaration, and we can save that. Now we want to download DC. Now, here is DC. We could just download it from here it's listed as dc.js there, but DC doesn't work alone, it depends on D3 and crossfilter, and you…

Contents