JavaScript Charts & Maps

Go ahead, and open these few demos: 1 2 3 4 5 6 7. Try scrolling, hovering, dragging, selecting – they just feel right. That’s how amCharts 4 was designed – to feel right out-of-the-box.

Source: JavaScript Charts & Maps – amCharts

Need charts for baseball-handbook.com and evaluated this, google charts, and d3.js. Google charts does not work, d3.js is extremely complicated, and still looking into this.

Update: Decided to go with d3.js because it has a command that can grab csv or json data streamed from another script. Google and amCharts seem to be for more static one off charts whereas baseball-handbook needs a chart for over 15K baseball players generated from a DB. It can be done using Google and amCharts but it’s messy.

Meanwhile it took me 4 hours to figure out how to get a label correctly rotated 90 degrees on a right side axis in a dual Y line chart using d3.js. amCharts is very nice and still may use them for one offs in the future.

Login With Facebook data hijacked by JavaScript trackers

When a user grants a website access to their social media profile, they are not only trusting that website, but also third parties embedded on that site” writes Englehardt. This chart shows that what some trackers are pulling from users. Freedom To Tinker warned OnAudience about another security issue recently, leading it to stop collecting user info.

Source: Login With Facebook data hijacked by JavaScript trackers | TechCrunch

Don’t use Facebook.

Weather.com Moves to Drupal

When the new Weather.com launches it will be the highest trafficked Drupal site in existence with over 1 billion page views per month.

via Mediacurrent | Weather.com Moves to Drupal.

On the technical side, our approach was to increase cache efficiency by utilizing Javascript and Edge Side Includes (ESI) for client side rendering as well as optimizing calls made to their content delivery network (CDN), Akamai.

 

Web Ads Used to Launch Online Attacks

It didn’t take long for the victimized test server to begin struggling under the sudden load. In the first hour of the test, during which only $2 was spent on ads, more than 130,000 connections from browsers swamped the server. It wasn’t much longer until the server began falling offline under the growing load.

via Web Ads Used to Launch Online Attacks | MIT Technology Review.

Why mobile web apps are slow

At some point it will occur to you that keeping 30MB buffers open to display a photo thumbnail is a really bad idea, so you will introduce 6) the buffer that is going to hold a smaller photo suitable for display in the next screen, 7) the buffer that resizes the photo in the background because it is too slow to do it in the foreground. And then you will discover that you really need five different sizes, and thus begins the slow descent into madness. It’s not uncommon to hit memory limits dealing just with a single photograph in a real-world application.

via Why mobile web apps are slow | Sealed Abstract.