background preloader

Force-Directed Graph

Force-Directed Graph

Raphaël—JavaScript Library Visualizing my Social Graph with d3.js Exclusive offer: get 50% off this eBook here Practical Data Analysis — Save 50% Transform, model, and visualize your data through hands-on projects, developed in open source tools with this book and ebook by Hector Cuesta | October 2013 | Open Source In this article written by Hector Cuesta, the author of Practical Data Analysis, you will learn how to create a social graph visualization of your Facebook Friends with d3.js. (For more resources related to this topic, see here.) Social Networks Analysis (SNA) is not new, sociologists have been using it for a long time to study human relationships (sociometry), to find communities and to simulate how information or a disease is spread in a population. With the rise of social networking sites such as Facebook, Twitter, LinkedIn, and so on. Social networking sites bring us the opportunities to ask questions that otherwise are too hard to approach, because polling enough people is time-consuming and expensive. Getting ready Resources for Article:

Word Tree Word Tree Shift-click to make that word the root. hook. new. them Thing One and Thing Two . you. Then, out of the box Came Thing Two and Thing One! they ran to us fast. said, “How do you do? you like to shake hands With Thing One and Thing Two?” And Sally and I Did now know what to do. shake hands With Thing One and Thing Two. their two hands. fish said, “No! Things should not be In this house! should not be here When your mother is not! Put them out!” in the pot. little fish,” Said the Cat in the Hat. are good Things.” gave them a pat. tame. come here to play. give you some fun On this wet, wet day.”

Better force layout node selection Object selection is tough, particularly when the things you'd like to select are moving around (like nodes in a force-directed layout, perhaps). Allowing a user the fudge factor of an area cursor helps, but can get in the way when targets are small enough. The use of a Voronoi tessellation promises a map of closest node for any given point. This example illustrates the use of a Voronoi overlay to clip nodes in a force-directed simulation. This builds on these two examples from Mike Bostock on force-directed graphs and voronoi tesselation, as well as Nate Vack's Voronoi selection example here and this first pass at an integration from Christopher Manning.

38 Tools For Beautiful Data Visualisations | Elisa DBI As we enter the Big Data era, it becomes more important to properly expand our capacity to process information for analysis and communication purposes. In a business context, this is evident as good visualisation techniques can support statistical treatment of data, or even become an analysis technique. But also, can be used as a communication tool to report insights that inform decisions. Today there are plenty of tools out there that can be used to improve your data visualisation efforts at every level. Javascript Libraries Circular Hierarchy – D3.js Python Libraries Kartograph.py – Mapsigraph – Node-link, treesMatplotlib – Most types of statistical plotsPycha – Pie chart, bar chart, area chartNetworkX – Node-link Java / PHP Prefuse – Area chart, Time series, node-link, tree, timeline, steam graph, radial hierarchyJpGraph – Line plot, scatter plot, bar chart, bubble chart, contours chart, field chart, splines, pie chart, boxplot, polar plot, radial chart, maps Web Applications

Chicago Lobbyists Force-Directed Graph Visualization - Christopher Manning This visualization includes the 50 highest paid lobbyists in Chicago, their clients, and the agencies they lobby. The data was compiled from ChicagoLobbyists.org in 2010. Blue Nodes: Lobbyists Grey Nodes: Clients Green Nodes: Agencies The radius of the Blue(Lobbyist) and Grey(Client) nodes is relative to the amount of money associated with them. Nodes closer to the center have more connections than nodes on the outer edge. Controls Hover a node to highlight the connected nodes and show the names and dollar amounts associated to that node. Development I wanted to build a project using a government dataset to learn d3.js. Picking the Chart Type There are a lot of excellent examples of the visualizations you can create using d3.js. Generating the JSON Data I used a local copy of the ChicagoLobbyists.org Sinatra app to generate the JSON need to create the visualization. Learning and Using d3.js D3.js has really good documentation. Label Placement Colors Conclusion

Strikeouts on the Rise - Interactive Graphic - NYTimes.com Last season, teams struck out at a rate never before seen: 7.5 times for each team every game, an increase of nearly 20 percent from 2005. Ten of the 30 major league teams set franchise records for strikeouts last season and most came close. Strikeouts per game, 2012 National League Batters American League Batters Theories as to why hitters are striking out in ever-increasing numbers reflect changes in both pitching and hitting. The Yankees frequently used four pitchers a game last season, the league average. Barton Silverman/The New York Times (Soriano, Garcia); Richard Perry/The New York Times (Logan); Jason Szenes for The New York Times (Robertson) Fresh Arms Keep Coming The days of a starter going deep into a game and then giving way to his closer appear long gone. In 1924, the year with the fewest strikeouts, teams used a single pitcher nearly half of the time. Number of pitchers per team per game Two Strikes, No Caution Jonathan Ernst/Reuters Batting average by pitch count Related article

Create Responsively with Animate and Reflow | sarahjustine.com We live in a world of responsive design, and animation can play a meaningful and fun role on your website. Edge Animate and Edge Reflow give you the best of both worlds; easy-to-create responsive designs with RF and percentage-based interactive animations with AN. In this tutorial I’ll show you how you can take a responsive Animate composition and easily merge it with your Reflow preview files. Watch the video to see it in action Download Project Files Step 1: Build something awesome in Reflow Start off by building your Reflow project. Once you have your placeholder div, set the height to “auto” in the Properties Inspector. Be sure to push the auto height as the default style for all your breakpoints. Step 2: Create your preview files Once you’re done building your Reflow project, Go to View > Preview in Chrome. Step 3: Build something awesome in Animate View the Animate sample file Note: Don’t forget to set the Stage in percentages! Step 5: Publish your Animate content Step 6: Copypasta

HeliosJS by entrendipity HeliosJS is an in-memory graph database for modern browsers. It employs a non-blocking asynchronous architecture through the use of Promises and Web Workers, and therefore is only available in browsers that support Web Workers. This enables HeliosJS to download and process large data sets without blocking the UI. In order to traverse the graph, HeliosJS uses a Gremlin inspired graph traversal language to query, analyze and manipulate the graph. Getting Started Copy the helios directory to your project's root directory. N.B. Now create a graph database and load some data. var g = new Helios.GraphDatabase(); g.loadGraphSON(' Then travese the graph. Lets break this down. The next step loads data into the database using the loadGraphSON function. Once the data is loaded we travese the graph. Documentation Conventions Function signatures Function signatures are based on the TypeScript notation. Closures top id()

cpettitt/dagre Crossfilter Fast Multidimensional Filtering for Coordinated Views Crossfilter is a JavaScript library for exploring large multivariate datasets in the browser. Crossfilter supports extremely fast (<30ms) interaction with coordinated views, even with datasets containing a million or more records; we built it to power analytics for Square Register, allowing merchants to slice and dice their payment history fluidly. Since most interactions only involve a single dimension, and then only small adjustments are made to the filter values, incremental filtering and reducing is significantly faster than starting from scratch. Crossfilter uses sorted indexes (and a few bit-twiddling hacks) to make this possible, dramatically increasing the perfor­mance of live histograms and top-K lists. For more details on how Crossfilter works, see the API reference. Example: Airline on-time performance February 28, 2001 236 mi. +139 min. 304 mi. +83 min. 569 mi. +172 min. 646 mi. +97 min. 370 mi. +73 min. 325 mi. +92 min. +16 min. 361 mi.

Episode 1: Edge and the Twitter API | Create Like Crazy with Adobe Edge Tools & Services Community Translation Your transcript request has been submitted. Adobe TV does its best to accommodate transcript requests. Join the Community Translation Project Thanks for your interest in translating this episode! Please Confirm Your Interest Thanks for your interest in adding translations to this episode! An error occurred while processing your request. Another translator has already started to translate this episode. Thanks for Participating! This episode has been assigned to you and you can expect an e-mail shortly containing all the information you need to get started. About This Episode Adobe Edge is not limited to sexy web animations; you can also build apps and integrate third-party APIs easily.

Related: