D3.js - Data-Driven Documents Data Visualization Libraries Based on D3.JS - Mike McDearmon There are a lot of ways to visualize data on the Web (with more emerging every day), but the flexibility, versatility, and energized development community surrounding D3.js makes it a great option to explore. The following list of D3 plugins, extensions, and applications below is by no means comprehensive, but oughta be enough to keep you busy for a while. If you’re just getting your feet wet with D3.js, here are some great learning resources to get you acclimated:D3 for mere mortals: Great introductory lessons for those starting from scratch.Try D3 Now: Another great resource for learning about core D3 concepts.Data-Driven Documents (paper): An academic article by Mike Bostock with loads of footnotes.Learning D3, Scott Becker: A quick and effective tutorial series to get yourself up and running.Dashing D3: A very thorough tutorial series covering a LOT more than just D3.Interactive Data Visualization for the Web is a fantastic book by Scott Murray.
6 Great Interactive Data Visualization Tools (Part 2) | MSDS Welcome back for the second part of my series on interactive data visualization (dataviz) tools. In Part 1, we covered three cool tools for visualizing charts and graphs and many other data types on a webpage. In part two, we take a look at three more tools that are a bit more complex but have some incredible data visualization capabilities. 4. Simile Exhibit Exhibit is a very robust and customizable offering. Visualization Types Supported: Line Graphs, Maps, Scatter Plots, Multi-Filterable Lists, Timelines, Timeplots and more…with widgets! Flexible & Powerful Approach to Design I really like the approach of Exhibit, where data is presented through a “lens” – an HTML template shell that elements are placed into. Strong Filtering/Sorting/Search Letting users filter your data by any number of criteria is incredibly useful, and turns your information from static content into a real interactive feature. Widgets! 5. 6. Wow, D3.js is cool! D3 isn’t really like the others. Conclusion
Anonymous function Anonymous functions originate in the work of Alonzo Church in his invention of the lambda calculus in 1936 (prior to electronic computers), in which all functions are anonymous. In several programming languages, anonymous functions are introduced using the keyword lambda, and anonymous functions are often referred to as lambda functions. Uses Sorting When attempting to sort in a non-standard way it may be easier to contain the comparison logic as an anonymous function instead of creating a named function. Consider sorting a list of strings by length of the string: a = ['house', 'car', 'bike'] a.sort(lambda x,y: cmp(len(x), len(y)))print(a)['car', 'bike', 'house'] The anonymous function in this example is the lambda expression: The anonymous function accepts two arguments, x and y, and returns the comparison between them using the built-in function cmp(). a = [10, 'number', 11.2] a.sort(lambda x,y: cmp(x. Closures def comp(threshold): return lambda x: x < threshold Map
Application programming interface In computer programming, an application programming interface (API) specifies how some software components should interact with each other. Detailed explanation API in procedural languages In most procedural languages, an API specifies a set of functions or routines that accomplish a specific task or are allowed to interact with a specific software component. This specification is presented in a human readable format in paper books, or in electronic formats like ebooks or as man pages. For example, the math API on Unix systems is a specification on how to use the mathematical functions included in the math library. The Unix command man 3 sqrt presents the signature of the function sqrt in the form: SYNOPSIS #include <math.h> double sqrt(double X); float sqrtf(float X); DESCRIPTION sqrt computes the positive square root of the argument. ... $ perldoc -f sqrt sqrt EXPR sqrt #Return the square root of EXPR. API in object-oriented languages API libraries and frameworks