PICTURES USING NS ANANDWWW.S-ANAND.NET
2010       Bangalore      Delhi       Hyderabad       MumbaiMonth      Price Sales Price Sales Price Sales Price Sales    ...
DETECTING FRAUD                 “                     We know meter readings are                     incorrect, for variou...
Apr-10   May-10 Jun-10 Jul-10   Aug-10 Sep-10 Oct-10   Nov-10 Dec-10 Jan-11 Feb-11   Mar-11  217       219    200   200   ...
Apr-10   May-10 Jun-10 Jul-10   Aug-10 Sep-10 Oct-10   Nov-10 Dec-10 Jan-11 Feb-11   Mar-11   217       219    200   200  ...
SECURITIES   FINDING PATTERNS             Which securities move together?             How should I diversify?             ...
68% correlation              between AUD & EURPlot of 6 month daily AUD - EUR values
PREDICTING MARKS            What determines a child’s marks?            Do girls score better than boys?            Does t...
… and peaksBased on the results of the 20 lakh                                      for Sep-bornsstudents taking the Class...
EXPLORING RELATIONS           This is the social network of programmers           across various Indian cities, using the ...
Bangalore   Chennai   PuneHyderabad   Mumbai    Delhi
INDIAN ODI BATTING
INDIAN ODI BATTING
http://www.s-anand.nethttp://blog.gramener.com
Ignite Chennai: Pictures through Numbers
Ignite Chennai: Pictures through Numbers
Ignite Chennai: Pictures through Numbers
Ignite Chennai: Pictures through Numbers
Ignite Chennai: Pictures through Numbers
Ignite Chennai: Pictures through Numbers
Upcoming SlideShare
Loading in …5
×

Ignite Chennai: Pictures through Numbers

1,402 views
1,332 views

Published on

Published in: Travel, Sports
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
1,402
On SlideShare
0
From Embeds
0
Number of Embeds
6
Actions
Shares
0
Downloads
13
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide
  • Data visualisation is about telling picture stories using numbers.In the next few minutes, we’ll cover the history of data visualisations, and some examples I’ve been working on.My name is Anand. More about me at www.s-anand.net
  • This is a data-generated map of London. Red spots indicate where photos on Flickr were taken. Blue spots indicate Twitter messages.Just with this, you can already see the streets, the river Thames, the tourist spots and the business districts.
  • The earliest data visualisation was shown by Florence Nightingale to Queen Elizabeth during the 100 Years War.The red shows deaths from wounds. The blue shows deaths from illnesses.The Queen got the point, started funding hospitals more, and England won the war.
  • When Cholera struck London, water wasn’t known as the carrier.Dr Snow plotted a map showing cholera incidents along with distance to water pumps.He identified a damaged pump as the source of the disease, and saved thousands of lives.
  • That was how data visualisation began. But WHY do we need it? Aren’t numbers obvious?Take a look at the price and sales by city on this table.Every column has the same average, and the same variance. So are they similar?
  • No. Each city has a very distinct pattern.But it’s not easy to spot this pattern with just the numbers and the averages.If there’s ONE rule you want to remember from this talk, it is: Do NOT trust averages. Always plot it.
  • One day, a senior electricity board official said to us, “We know our meter readings have a lot of fraud in them.But when we go to the Union, they ask for proof. It’s sure to be there somewhere in our data. But it’s too large, and we don’t know how to analyse it.Can YOU help us?
  • We plotted each of the 200 billionreadings, and got what looks like a smooth lognormal curve.But with spikes – at exactly the slab boundaries. People with a reading of 100 pay bills at a lower rate than those with a reading of 101.
  • And this isn’t randomly spread out. There are SPECIFIC people whose meter reading is consistently at the slab boundaries.The first row, for instance, is a famous personality, and her reading shows 200, 200, 200, 200…So do a lot of others’.
  • We also showed the degree of fraud by geographic sections. Section 1 has very high fraud.Section 5’s fraud fell dramatically in Jun, and shot back up in September.That happens to be EXACTLY when a particular section manager was transferred in, then out.
  • In another example I worked on, a bank approached us and said, we want to find patterns in currency, stock and commodity prices.Specifically, how do they move with each other? Are there blocks of securities that are related? Can you show it in a visually obvious way?
  • This has 19 securities and their correlations with each other.The Australian Dollar and the Euro have a correlation of 68%, and that’s the plot of their values over time.The green indicates a positive correlation. The red indicates a negative one.
  • You can now see two big blocks of securities.The S&P, the FTSE, the BSE, and for some reason, the Pakistani Rupee.The Singapore Dollar, the Japanese Yen, Gold, Swiss Franc and the Chinese Yuan.They move together with each other, but when any one block goes up, the other block is sure to go down.
  • The Tamil Nadu education department shared with us the marks of every single student over the last 3 years.I tried to see if I could predict their marks. Does gender make a difference? Does subject matter?Also silly things like whether the first letter of the name matters, and whether the sun sign matters.
  • The sun sign matters a LOT. August borns score a good 10% more than June borns, and this is statistically extremely significant.You can see the same pattern every year, in every district, in every class, in every subject.The reason was clear in retrospect, but I’ll let you guess it.
  • We plotted that across a number of cities.Bangalore – dense network with a central connected component.Chennai and Pune – not so well connected, but not too bad either.The other cities barely have a network.And you can FEEL this if you visit the cities and talk to geeks.
  • Who’s the best Indian one-daybatsman? The size represents every run ever scored. The colour represents speed. Red is slow, green is fast.Sehwag’s very fast – but so was Kapil, especially for his time.
  • This is a drilldown, showing every single match they played.With this, you’ll be able to see who the consistent players are, and where exactly their runs came from.You can also click to see that particular match statistics.
  • All of these visualisations, and the picture stories they told, were generated purely using numbers, and only using programs, with not one bit of manual adjustment.For more such, andmore details about these, here are the links.
  • Ignite Chennai: Pictures through Numbers

    1. 1. PICTURES USING NS ANANDWWW.S-ANAND.NET
    2. 2. 2010 Bangalore Delhi Hyderabad MumbaiMonth Price Sales Price Sales Price Sales Price Sales Jan 10.0 8.04 10.0 9.14 10.0 7.46 8.0 6.58 Feb 8.0 6.95 8.0 8.14 8.0 6.77 8.0 5.76 Mar 13.0 7.58 13.0 8.74 13.0 12.74 8.0 7.71 Apr 9.0 8.81 9.0 8.77 9.0 7.11 8.0 8.84 May 11.0 8.33 11.0 9.26 11.0 7.81 8.0 8.47 Jun 14.0 9.96 14.0 8.10 14.0 8.84 8.0 7.04 Jul 6.0 7.24 6.0 6.13 6.0 6.08 8.0 5.25 Aug 4.0 4.26 4.0 3.10 4.0 5.39 19.0 12.50 Sep 12.0 10.84 12.0 9.13 12.0 8.15 8.0 5.56 Oct 7.0 4.82 7.0 7.26 7.0 6.42 8.0 7.91 Nov 5.0 5.68 5.0 4.74 5.0 5.73 8.0 6.89Average 9.0 7.50 9.0 7.50 9.0 7.50 9.0 7.50Variance 10.0 3.75 10.0 3.75 10.0 3.75 10.0 3.75
    3. 3. DETECTING FRAUD “ We know meter readings are incorrect, for various reasons. We don’t, however, have the concrete proof we need to start the process of meter readingENERGY UTILITY automation. Part of our problem is the volume of data that needs to be analysed. The other is the inexperience in tools or analyses to identify such patterns.
    4. 4. Apr-10 May-10 Jun-10 Jul-10 Aug-10 Sep-10 Oct-10 Nov-10 Dec-10 Jan-11 Feb-11 Mar-11 217 219 200 200 200 200 200 200 200 350 200 200 250 200 200 200 201 200 200 200 250 200 200 150 250 150 150 200 200 200 200 200 200 200 200 150 150 200 200 200 200 200 200 200 200 200 200 50 200 200 200 150 180 150 50 100 50 70 100 100 100 100 100 100 100 100 100 100 100 100 110 100 100 150 123 123 50 100 50 100 100 100 100 100 0 111 100 100 100 100 100 100 100 100 50 50 0 100 27 100 50 100 100 100 100 100 70 100 1 1 1 100 99 50 100 100 100 100 100 100
    5. 5. Apr-10 May-10 Jun-10 Jul-10 Aug-10 Sep-10 Oct-10 Nov-10 Dec-10 Jan-11 Feb-11 Mar-11 217 219 200 200 200 200 200 200 200 350 200 200 250 200 200 200 201 200 200 200 250 200 200 150 250 150 150 200 200 200 200 200 200 200 200 150 150 200 200 200 200 200 200 200 200 200 200 50 200 200 200 150 180 150 50 100 50 70 100 100 100 100 100 100 100 100 100 100 100 100 110 100 100 150 123 123 50 100 50 100 100 100 100 100 0 111 100 100 100 100 100 100 100 100 50 50 0 100 27 100 50 100 100 100 100 100 70 100 1 1 1 100 99 50 100 100 100 100 100 100Section Apr-10 May-10 Jun-10 Jul-10 Aug-10 Sep-10 Oct-10 Nov-10 Dec-10 Jan-11 Feb-11 Mar-11Section 1 70% 97% 136% 65% 110% 116% 121% 107% 114% 88% 74% 109%Section 2 66% 92% 66% 87% 70% 64% 63% 50% 58% 38% 41% 54%Section 3 90% 46% 47% 43% 28% 31% 50% 32% 19% 38% 8% 34%Section 4 44% 24% 36% 39% 21% 18% 24% 49% 56% 44% 31% 14%Section 5 4% 63% -27% 20% 41% 82% 26% 34% 43% 2% 37% 15%Section 6 18% 23% 30% 21% 28% 33% 39% 41% 39% 18% 0% 33%Section 7 36% 51% 33% 33% 27% 35% 10% 39% 12% 5% 15% 14%Section 8 22% 21% 28% 12% 24% 27% 10% 31% 13% 11% 22% 17%Section 9 19% 35% 14% 9% 16% 32% 37% 12% 9% 5% -3% 11%
    6. 6. SECURITIES FINDING PATTERNS Which securities move together? How should I diversify? What should I sell to reduce risk? What’s a reliable predictor of a security?
    7. 7. 68% correlation between AUD & EURPlot of 6 month daily AUD - EUR values
    8. 8. PREDICTING MARKS What determines a child’s marks? Do girls score better than boys? Does the choice of subject matter?EDUCATION Does the medium of instruction matter? Does community or religion matter? Does the first letter of their name matter? Does their sun sign matter?
    9. 9. … and peaksBased on the results of the 20 lakh for Sep-bornsstudents taking the Class XII exams The marksat Tamil Nadu over the last 3 years, shoot up for Aug bornsit appears that the month you wereborn in can make a difference of asmuch as 120 marks out of 1,200. 120 marks out of 1200 explainable by month of birth June borns score the lowest An identical pattern was observed in 2009 and 2010…“It’s simply that in Canada the eligibilitycutoff for age-class hockey is January 1. Aboy who turns ten on January 2, then,could be playing alongside someone whodoesn’t turn ten until the end of the year—and at that age, in preadolescence, atwelve-month gap in age represents anenormous difference in physical maturity.” -- Malcolm Gladwell, Outliers … and across districts, gender, subjects, and class X & XII.
    10. 10. EXPLORING RELATIONS This is the social network of programmers across various Indian cities, using the follower network at Github.com – a Facebook for developers. Each circle represents a coder. The size shows their number of followers. The colour shows the language they develop in.NETWORKS The lines show whom they follow.
    11. 11. Bangalore Chennai PuneHyderabad Mumbai Delhi
    12. 12. INDIAN ODI BATTING
    13. 13. INDIAN ODI BATTING
    14. 14. http://www.s-anand.nethttp://blog.gramener.com

    ×