background preloader

Javascript

Facebook Twitter

AngularJS: Tutorial: 0 - Bootstrapping. Loading...

AngularJS: Tutorial: 0 - Bootstrapping

In this step of the tutorial, you will become familiar with the most important source code files of the AngularJS Phonecat App. You will also learn how to start the development servers bundled with angular-seed, and run the application in the browser. Before you continue, make sure you have set up your development environment and installed all necessary dependencies, as described in the Environment Setup section. In the angular-phonecat directory, run this command: git checkout -f step-0 This resets your workspace to step 0 of the tutorial app. You must repeat this for every future step in the tutorial and change the number to the number of the step you are on. If you haven't already done so, you need to install the dependencies by running: npm install To see the app running in a browser, open a separate terminal/command line tab or window, then run npm start to start the web server.

You can now see the page in your browser. The HTML page that displays "Nothing here yet! " MaptimeSEA. As a simple web search will tell you, D3 is a data visualization library that runs like lightening in your web browser.

MaptimeSEA

You may hear data visualization and think I don't need a data viz lib, I make maps. Well, maps run on data, plus D3 is actually pretty good with maps, so keep an open mind. You might also wonder why you would choose D3 over another library like Leaflet.js. The short answer is it really depends on your use case and the type of data you want to display. The long answer is this tutorial.

D3 stands for Data Driven Documents. House keeping To successfully follow this tutorial you need a text editor (such as Notepad++ or Sublime Text). Also, to complete this tutorial without running a local web server (not what we're here to learn), you'll need to open your web map in Firefox. At its core, D3 takes your information and transforms it into a visual output. SVGs are human readable, which works well for us because we aren't computers.

Let's take a look at this scatterplot. Enjalot.github. Pre-Game Some things to go over before we dive in SVG Overview overview of most common SVG elements and key ways SVG is similar to and different from html Binding API introduction to the d3 API functions that relate to the DOM and data binding, such as selections, transitions and the enter/update/exit pattern.

enjalot.github

Non-Binding API overview of the rest of the d3 API functions which can be used in all kinds of situations Reusable Charts introduction to the reusable chart pattern Diving Board Links and resources for diving even deeper into d3. Bl.ocksplorer.org - Learn d3.js by Example. Mapping with D3 - Maptime Boston. A friendly introduction Andy Woodruff for Maptime Boston @maptimeBoston | @awoodruff Follow along!

Mapping with D3 - Maptime Boston

Maptimeboston.github.io/d3-maptime Or get the code for examples: github.com/maptimeboston/d3-maptime Before we begin... D3 is HARD for beginners. D3 documentation. If you see the down arrow in the corner of a slide, press down to see links to helpful resources on the subject at hand. Yeah, you get the hang of it! Map Projection Transitions. Bl.ocksplorer.org - Learn d3.js by Example. D3.

<div id="js_warning"><strong>JavaScript is turned off, so this page won&rsquo;t be very interactive.

D3

</strong> Switch JavaScript back on in your web browser for the full experience. </div> These tutorials have been expanded into a book, Interactive Data Visualization for the Web, published by O’Reilly in March 2013. Purchase the ebook and print editions from O’Reilly. A free, online version includes interactive examples. Dynamisez vos sites web avec Javascript ! Bienvenue à toutes et à tous, Qui n'a jamais entendu parler du JavaScript ?

Dynamisez vos sites web avec Javascript !

Créé dans les années 90 en tant que simple langage de script, JavaScript est désormais un des poids lourds du développement Web ! Qui plus est, il se démocratise au sein d'autres environnements comme les serveurs avec le célèbre Node.js, les applications pour smartphones et tablettes, avec PhoneGap d'Adobe, les applications pour Windows 8, mais aussi les logiciels multiplateformes.

ScrollMagic - Demo. Drag-and-Drop with jQuery: Your Essential Guide. Home : Articles : Drag-and-Drop with jQuery: Your Essential Guide Tutorial by Matt Doyle | Level: Intermediate | Published on 17 February 2011.

Drag-and-Drop with jQuery: Your Essential Guide

The complete jQuery tutorial. Edit fiddle. Learn how to code by playing a game. jQuery: The Write Less, Do More, JavaScript Library. Cours.