Using D3.js to visualise Hierarchical Classification Why D3.js? I’ve been playing around with a fairly new visualisation library called D3.js for the last couple of weeks. Given my last post about how awesome the python plotting library matplotlib is, why bother? Collapsible Drag Drop Panels - Web Developer Plus Demos Handle 1 Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec vestibulum velit ultricies orci pharetra elementum. The Definitive Guide: Sublime Text 2, a Code Editor to Love You know, old habits die hard. Therefore I got stuck to the HTML editor Homesite ever since I started to design websites more than a century ago. I took a look at other editors here and there but always returned to my good ol’ buddy. It had almost everything I needed on my daily business. Okay, it lacked movable tabs, the file browser was pretty sluggish and some other minor glitches bugged me from time to time. But I loved it wholeheartedly.
Ruby, Rails and JavaScript Tutorial Catalog ▶ We’ve been acquired by Pluralsight! ▶ Upgrade your account to Pluralsight ▶ More details… Filter by tag: Ruby on Rails · Ruby · Javascript · Play by Play · Unix · RSpec · Deployment · Pdf · Design · Cocoa · iPhone · Node · Databases · Productivity · Git CodeMirror's mode system A CodeMirror mode is a module that helps CodeMirror, a code editor, highlight and optionally smart-indent text in a specific programming language or other kind of structured text format. Code editors take widely different approaches to the way syntax highlighting styles are defined. An elegantly simple approach is outlined in Patrick Walton's Common JavaScript Syntax Highlighting Specification, basically defining a state machine with regular expressions as its edges. Unfortunately, this proposal was never widely adopted.
Sankey Diagram Source: Department of Energy & Climate Change, Tom Counsell. Sankey diagrams visualize the magnitude of flow between nodes in a network. This intricate diagram shows a possible scenario for UK energy production and consumption in 2050: energy supplies are on the left, and demands are on the right. Intermediate nodes group related forms of production and show how energy is converted and transmitted before it is consumed (or lost!).
mishoo/UglifyJS Learnable Programming Here's a trick question: How do we get people to understand programming? Khan Academy recently launched an online environment for learning to program. It offers a set of tutorials based on the JavaScript and Processing languages, and features a "live coding" environment, where the program's output updates as the programmer types. Soma.js – Your Way Out of Chaotic JavaScript By Romuald Quantin What is a scalable application? A scalable application has the ability to grow in a capable manner. Applications often start small but also grow very quickly. Sometimes applications need to be entirely rewritten as they grow and become unmanageable.
Stephen Boak — Tutorial: Network Flow Visualizations With Directed Edges in D3 Back in May I posted some network visualization experiments we did at Boundary to the Boundary Blog. This is the companion post walking through the code and showing you how we made them. In total we made 4 of these experiments. Since much of the code repeats across experiments I’ll walk through the general setup and then the specifics of each experiment. General Setup 5 Interesting Ways To Learn To Code Many people have realized the importance of learning how to code as a life skill. No matter where you go, and what job you have, it’s always seen as in a positive light if you know how to work some code, even if that’s not your profession. As this importance increases ever more, there are plenty of new initiatives to get kids to learn code in school.
Visualizing min-heap algorithms with D3.js I haven't done any real work on learning Javascript and D3.js since my last attempt a couple months back. To keep at it, I thought I'd try using D3.js to visualize a simple algorithm: finding the largest couple of items in a list. This problem comes up all the time when doing search and recommendation type tasks. Every time you query a search engine, it has to find the couple best scored results in all matching items.
Become a Programmer, Motherfucker If you don't know how to code, then you can learn even if you think you can't. Thousands of people have learned programming from these fine books: Learn Python The Hard Way Learn Ruby The Hard Way Learn Code The Hard Way