Submit Search
Upload
D3 brown-bag
•
Download as PPTX, PDF
•
0 likes
•
354 views
Awalin Sopan
Follow
D3 Tutorial Javascript Visualization
Read less
Read more
Data & Analytics
Report
Share
Report
Share
1 of 14
Download now
Recommended
Accelerating distributed joins in Apache Hive: Runtime filtering enhancements
Accelerating distributed joins in Apache Hive: Runtime filtering enhancements
Stamatis Zampetakis
Compass Framework
Compass Framework
Lukas Vlcek
Hadoop Hive Tutorial | Hive Fundamentals | Hive Architecture
Hadoop Hive Tutorial | Hive Fundamentals | Hive Architecture
Skillspeed
Apache hive
Apache hive
Vaibhav Kadu
Spark1
Spark1
Dr. G. Bharadwaja Kumar
Big Data Processing with .NET and Spark (SQLBits 2020)
Big Data Processing with .NET and Spark (SQLBits 2020)
Michael Rys
How to integrate Splunk with any data solution
How to integrate Splunk with any data solution
Julian Hyde
Introduction to Hivemall
Introduction to Hivemall
Treasure Data, Inc.
Recommended
Accelerating distributed joins in Apache Hive: Runtime filtering enhancements
Accelerating distributed joins in Apache Hive: Runtime filtering enhancements
Stamatis Zampetakis
Compass Framework
Compass Framework
Lukas Vlcek
Hadoop Hive Tutorial | Hive Fundamentals | Hive Architecture
Hadoop Hive Tutorial | Hive Fundamentals | Hive Architecture
Skillspeed
Apache hive
Apache hive
Vaibhav Kadu
Spark1
Spark1
Dr. G. Bharadwaja Kumar
Big Data Processing with .NET and Spark (SQLBits 2020)
Big Data Processing with .NET and Spark (SQLBits 2020)
Michael Rys
How to integrate Splunk with any data solution
How to integrate Splunk with any data solution
Julian Hyde
Introduction to Hivemall
Introduction to Hivemall
Treasure Data, Inc.
Data infrastructure architecture for medium size organization: tips for colle...
Data infrastructure architecture for medium size organization: tips for colle...
DataWorks Summit/Hadoop Summit
Data & analytics challenges in a microservice architecture
Data & analytics challenges in a microservice architecture
Niels Naglé
Using Apache Arrow, Calcite, and Parquet to Build a Relational Cache
Using Apache Arrow, Calcite, and Parquet to Build a Relational Cache
Dremio Corporation
Fishing Graphs in a Hadoop Data Lake
Fishing Graphs in a Hadoop Data Lake
ArangoDB Database
Hadoop Architecture Options for Existing Enterprise DataWarehouse
Hadoop Architecture Options for Existing Enterprise DataWarehouse
Asis Mohanty
Data analysis using hive ql & tableau
Data analysis using hive ql & tableau
pkale1708
運用CNTK 實作深度學習物件辨識 Deep Learning based Object Detection with Microsoft Cogniti...
運用CNTK 實作深度學習物件辨識 Deep Learning based Object Detection with Microsoft Cogniti...
Herman Wu
MaaS (Model as a Service): Modern Streaming Data Science with Apache Metron (...
MaaS (Model as a Service): Modern Streaming Data Science with Apache Metron (...
DataWorks Summit
Recommendation Engine Powered by Hadoop
Recommendation Engine Powered by Hadoop
Pranab Ghosh
A Tale of Three Apache Spark APIs: RDDs, DataFrames and Datasets by Jules Damji
A Tale of Three Apache Spark APIs: RDDs, DataFrames and Datasets by Jules Damji
Data Con LA
How Concur uses Big Data to get you to Tableau Conference On Time
How Concur uses Big Data to get you to Tableau Conference On Time
Denny Lee
The Future of Column-Oriented Data Processing With Apache Arrow and Apache Pa...
The Future of Column-Oriented Data Processing With Apache Arrow and Apache Pa...
Dremio Corporation
Azure Databricks – Customer Experiences and Lessons Denzil Ribeiro Madhu Ganta
Azure Databricks – Customer Experiences and Lessons Denzil Ribeiro Madhu Ganta
Databricks
Options for Data Prep - A Survey of the Current Market
Options for Data Prep - A Survey of the Current Market
Dremio Corporation
Apache Hive
Apache Hive
tusharsinghal58
Optiq: a SQL front-end for everything
Optiq: a SQL front-end for everything
Julian Hyde
Running Intelligent Applications inside a Database: Deep Learning with Python...
Running Intelligent Applications inside a Database: Deep Learning with Python...
Miguel González-Fierro
High-Performance Advanced Analytics with Spark-Alchemy
High-Performance Advanced Analytics with Spark-Alchemy
Databricks
Python and the MySQL Document Store
Python and the MySQL Document Store
Jesper Wisborg Krogh
Analytics Web Day | Query your Data in S3 with SQL and optimize for Cost and ...
Analytics Web Day | Query your Data in S3 with SQL and optimize for Cost and ...
AWS Germany
Testing Big Data: Automated ETL Testing of Hadoop
Testing Big Data: Automated ETL Testing of Hadoop
RTTS
BigData_Krishna Kumar Sharma
BigData_Krishna Kumar Sharma
Krishna Kumar Sharma
More Related Content
What's hot
Data infrastructure architecture for medium size organization: tips for colle...
Data infrastructure architecture for medium size organization: tips for colle...
DataWorks Summit/Hadoop Summit
Data & analytics challenges in a microservice architecture
Data & analytics challenges in a microservice architecture
Niels Naglé
Using Apache Arrow, Calcite, and Parquet to Build a Relational Cache
Using Apache Arrow, Calcite, and Parquet to Build a Relational Cache
Dremio Corporation
Fishing Graphs in a Hadoop Data Lake
Fishing Graphs in a Hadoop Data Lake
ArangoDB Database
Hadoop Architecture Options for Existing Enterprise DataWarehouse
Hadoop Architecture Options for Existing Enterprise DataWarehouse
Asis Mohanty
Data analysis using hive ql & tableau
Data analysis using hive ql & tableau
pkale1708
運用CNTK 實作深度學習物件辨識 Deep Learning based Object Detection with Microsoft Cogniti...
運用CNTK 實作深度學習物件辨識 Deep Learning based Object Detection with Microsoft Cogniti...
Herman Wu
MaaS (Model as a Service): Modern Streaming Data Science with Apache Metron (...
MaaS (Model as a Service): Modern Streaming Data Science with Apache Metron (...
DataWorks Summit
Recommendation Engine Powered by Hadoop
Recommendation Engine Powered by Hadoop
Pranab Ghosh
A Tale of Three Apache Spark APIs: RDDs, DataFrames and Datasets by Jules Damji
A Tale of Three Apache Spark APIs: RDDs, DataFrames and Datasets by Jules Damji
Data Con LA
How Concur uses Big Data to get you to Tableau Conference On Time
How Concur uses Big Data to get you to Tableau Conference On Time
Denny Lee
The Future of Column-Oriented Data Processing With Apache Arrow and Apache Pa...
The Future of Column-Oriented Data Processing With Apache Arrow and Apache Pa...
Dremio Corporation
Azure Databricks – Customer Experiences and Lessons Denzil Ribeiro Madhu Ganta
Azure Databricks – Customer Experiences and Lessons Denzil Ribeiro Madhu Ganta
Databricks
Options for Data Prep - A Survey of the Current Market
Options for Data Prep - A Survey of the Current Market
Dremio Corporation
Apache Hive
Apache Hive
tusharsinghal58
Optiq: a SQL front-end for everything
Optiq: a SQL front-end for everything
Julian Hyde
Running Intelligent Applications inside a Database: Deep Learning with Python...
Running Intelligent Applications inside a Database: Deep Learning with Python...
Miguel González-Fierro
High-Performance Advanced Analytics with Spark-Alchemy
High-Performance Advanced Analytics with Spark-Alchemy
Databricks
Python and the MySQL Document Store
Python and the MySQL Document Store
Jesper Wisborg Krogh
Analytics Web Day | Query your Data in S3 with SQL and optimize for Cost and ...
Analytics Web Day | Query your Data in S3 with SQL and optimize for Cost and ...
AWS Germany
What's hot
(20)
Data infrastructure architecture for medium size organization: tips for colle...
Data infrastructure architecture for medium size organization: tips for colle...
Data & analytics challenges in a microservice architecture
Data & analytics challenges in a microservice architecture
Using Apache Arrow, Calcite, and Parquet to Build a Relational Cache
Using Apache Arrow, Calcite, and Parquet to Build a Relational Cache
Fishing Graphs in a Hadoop Data Lake
Fishing Graphs in a Hadoop Data Lake
Hadoop Architecture Options for Existing Enterprise DataWarehouse
Hadoop Architecture Options for Existing Enterprise DataWarehouse
Data analysis using hive ql & tableau
Data analysis using hive ql & tableau
運用CNTK 實作深度學習物件辨識 Deep Learning based Object Detection with Microsoft Cogniti...
運用CNTK 實作深度學習物件辨識 Deep Learning based Object Detection with Microsoft Cogniti...
MaaS (Model as a Service): Modern Streaming Data Science with Apache Metron (...
MaaS (Model as a Service): Modern Streaming Data Science with Apache Metron (...
Recommendation Engine Powered by Hadoop
Recommendation Engine Powered by Hadoop
A Tale of Three Apache Spark APIs: RDDs, DataFrames and Datasets by Jules Damji
A Tale of Three Apache Spark APIs: RDDs, DataFrames and Datasets by Jules Damji
How Concur uses Big Data to get you to Tableau Conference On Time
How Concur uses Big Data to get you to Tableau Conference On Time
The Future of Column-Oriented Data Processing With Apache Arrow and Apache Pa...
The Future of Column-Oriented Data Processing With Apache Arrow and Apache Pa...
Azure Databricks – Customer Experiences and Lessons Denzil Ribeiro Madhu Ganta
Azure Databricks – Customer Experiences and Lessons Denzil Ribeiro Madhu Ganta
Options for Data Prep - A Survey of the Current Market
Options for Data Prep - A Survey of the Current Market
Apache Hive
Apache Hive
Optiq: a SQL front-end for everything
Optiq: a SQL front-end for everything
Running Intelligent Applications inside a Database: Deep Learning with Python...
Running Intelligent Applications inside a Database: Deep Learning with Python...
High-Performance Advanced Analytics with Spark-Alchemy
High-Performance Advanced Analytics with Spark-Alchemy
Python and the MySQL Document Store
Python and the MySQL Document Store
Analytics Web Day | Query your Data in S3 with SQL and optimize for Cost and ...
Analytics Web Day | Query your Data in S3 with SQL and optimize for Cost and ...
Similar to D3 brown-bag
Testing Big Data: Automated ETL Testing of Hadoop
Testing Big Data: Automated ETL Testing of Hadoop
RTTS
BigData_Krishna Kumar Sharma
BigData_Krishna Kumar Sharma
Krishna Kumar Sharma
Lecture 6 Data Driven Design
Lecture 6 Data Driven Design
Sur College of Applied Sciences
Postgres.foreign.data.wrappers.2015
Postgres.foreign.data.wrappers.2015
EDB
Delegated Configuration with Multiple Hiera Databases - PuppetConf 2014
Delegated Configuration with Multiple Hiera Databases - PuppetConf 2014
Puppet
Kite SDK introduction for Portland Big Data
Kite SDK introduction for Portland Big Data
_blue
Apache Eagle - Monitor Hadoop in Real Time
Apache Eagle - Monitor Hadoop in Real Time
DataWorks Summit/Hadoop Summit
Running Enterprise Workloads in the Cloud
Running Enterprise Workloads in the Cloud
DataWorks Summit
Complement Your Existing Data Warehouse with Big Data & Hadoop
Complement Your Existing Data Warehouse with Big Data & Hadoop
Datameer
What it takes to bring Hadoop to a production-ready state
What it takes to bring Hadoop to a production-ready state
ClouderaUserGroups
DeepeshRehi
DeepeshRehi
deepesh rehi
Document Merge on Salesforce.com
Document Merge on Salesforce.com
Drawloop Technologies, Inc.
Analyzing twitter data with hadoop
Analyzing twitter data with hadoop
Joey Echeverria
Android intents-3 www.j2program.blogspot.com
Android intents-3 www.j2program.blogspot.com
Mohamed Rimzan
The Future of Hadoop: MapR VP of Product Management, Tomer Shiran
The Future of Hadoop: MapR VP of Product Management, Tomer Shiran
MapR Technologies
What it takes to run Hadoop at Scale: Yahoo! Perspectives
What it takes to run Hadoop at Scale: Yahoo! Perspectives
DataWorks Summit
Open Architecture in the Adobe Marketing Cloud - Summit 2014
Open Architecture in the Adobe Marketing Cloud - Summit 2014
Paolo Mottadelli
Apache Kite
Apache Kite
Alwin James
Leveraging Quandl
Leveraging Quandl
Quantopian
Advanced Web Development
Advanced Web Development
Robert J. Stein
Similar to D3 brown-bag
(20)
Testing Big Data: Automated ETL Testing of Hadoop
Testing Big Data: Automated ETL Testing of Hadoop
BigData_Krishna Kumar Sharma
BigData_Krishna Kumar Sharma
Lecture 6 Data Driven Design
Lecture 6 Data Driven Design
Postgres.foreign.data.wrappers.2015
Postgres.foreign.data.wrappers.2015
Delegated Configuration with Multiple Hiera Databases - PuppetConf 2014
Delegated Configuration with Multiple Hiera Databases - PuppetConf 2014
Kite SDK introduction for Portland Big Data
Kite SDK introduction for Portland Big Data
Apache Eagle - Monitor Hadoop in Real Time
Apache Eagle - Monitor Hadoop in Real Time
Running Enterprise Workloads in the Cloud
Running Enterprise Workloads in the Cloud
Complement Your Existing Data Warehouse with Big Data & Hadoop
Complement Your Existing Data Warehouse with Big Data & Hadoop
What it takes to bring Hadoop to a production-ready state
What it takes to bring Hadoop to a production-ready state
DeepeshRehi
DeepeshRehi
Document Merge on Salesforce.com
Document Merge on Salesforce.com
Analyzing twitter data with hadoop
Analyzing twitter data with hadoop
Android intents-3 www.j2program.blogspot.com
Android intents-3 www.j2program.blogspot.com
The Future of Hadoop: MapR VP of Product Management, Tomer Shiran
The Future of Hadoop: MapR VP of Product Management, Tomer Shiran
What it takes to run Hadoop at Scale: Yahoo! Perspectives
What it takes to run Hadoop at Scale: Yahoo! Perspectives
Open Architecture in the Adobe Marketing Cloud - Summit 2014
Open Architecture in the Adobe Marketing Cloud - Summit 2014
Apache Kite
Apache Kite
Leveraging Quandl
Leveraging Quandl
Advanced Web Development
Advanced Web Development
Recently uploaded
Smarteg dropshipping via API with DroFx.pptx
Smarteg dropshipping via API with DroFx.pptx
olyaivanovalion
VIP Call Girls Service Miyapur Hyderabad Call +91-8250192130
VIP Call Girls Service Miyapur Hyderabad Call +91-8250192130
Suhani Kapoor
Ukraine War presentation: KNOW THE BASICS
Ukraine War presentation: KNOW THE BASICS
Aishani27
VIP Call Girls in Amravati Aarohi 8250192130 Independent Escort Service Amravati
VIP Call Girls in Amravati Aarohi 8250192130 Independent Escort Service Amravati
Suhani Kapoor
100-Concepts-of-AI by Anupama Kate .pptx
100-Concepts-of-AI by Anupama Kate .pptx
Anupama Kate
BigBuy dropshipping via API with DroFx.pptx
BigBuy dropshipping via API with DroFx.pptx
olyaivanovalion
Beautiful Sapna Vip Call Girls Hauz Khas 9711199012 Call /Whatsapps
Beautiful Sapna Vip Call Girls Hauz Khas 9711199012 Call /Whatsapps
sapnasaifi408
BabyOno dropshipping via API with DroFx.pptx
BabyOno dropshipping via API with DroFx.pptx
olyaivanovalion
Dubai Call Girls Wifey O52&786472 Call Girls Dubai
Dubai Call Girls Wifey O52&786472 Call Girls Dubai
hf8803863
(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Service
(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Service
ranjana rawat
Delhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
shivangimorya083
Call Girls In Mahipalpur O9654467111 Escorts Service
Call Girls In Mahipalpur O9654467111 Escorts Service
Sapana Sha
RA-11058_IRR-COMPRESS Do 198 series of 1998
RA-11058_IRR-COMPRESS Do 198 series of 1998
YohFuh
Unveiling Insights: The Role of a Data Analyst
Unveiling Insights: The Role of a Data Analyst
Samantha Rae Coolbeth
dokumen.tips_chapter-4-transient-heat-conduction-mehmet-kanoglu.ppt
dokumen.tips_chapter-4-transient-heat-conduction-mehmet-kanoglu.ppt
Sonatrach
Delhi 99530 vip 56974 Genuine Escort Service Call Girls in Kishangarh
Delhi 99530 vip 56974 Genuine Escort Service Call Girls in Kishangarh
9953056974 Low Rate Call Girls In Saket, Delhi NCR
Customer Service Analytics - Make Sense of All Your Data.pptx
Customer Service Analytics - Make Sense of All Your Data.pptx
Emmanuel Dauda
꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call
꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call
shivangimorya083
Introduction-to-Machine-Learning (1).pptx
Introduction-to-Machine-Learning (1).pptx
firstjob4
꧁❤ Aerocity Call Girls Service Aerocity Delhi ❤꧂ 9999965857 ☎️ Hard And Sexy ...
꧁❤ Aerocity Call Girls Service Aerocity Delhi ❤꧂ 9999965857 ☎️ Hard And Sexy ...
Call Girls In Delhi Whatsup 9873940964 Enjoy Unlimited Pleasure
Recently uploaded
(20)
Smarteg dropshipping via API with DroFx.pptx
Smarteg dropshipping via API with DroFx.pptx
VIP Call Girls Service Miyapur Hyderabad Call +91-8250192130
VIP Call Girls Service Miyapur Hyderabad Call +91-8250192130
Ukraine War presentation: KNOW THE BASICS
Ukraine War presentation: KNOW THE BASICS
VIP Call Girls in Amravati Aarohi 8250192130 Independent Escort Service Amravati
VIP Call Girls in Amravati Aarohi 8250192130 Independent Escort Service Amravati
100-Concepts-of-AI by Anupama Kate .pptx
100-Concepts-of-AI by Anupama Kate .pptx
BigBuy dropshipping via API with DroFx.pptx
BigBuy dropshipping via API with DroFx.pptx
Beautiful Sapna Vip Call Girls Hauz Khas 9711199012 Call /Whatsapps
Beautiful Sapna Vip Call Girls Hauz Khas 9711199012 Call /Whatsapps
BabyOno dropshipping via API with DroFx.pptx
BabyOno dropshipping via API with DroFx.pptx
Dubai Call Girls Wifey O52&786472 Call Girls Dubai
Dubai Call Girls Wifey O52&786472 Call Girls Dubai
(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Service
(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Service
Delhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Call Girls In Mahipalpur O9654467111 Escorts Service
Call Girls In Mahipalpur O9654467111 Escorts Service
RA-11058_IRR-COMPRESS Do 198 series of 1998
RA-11058_IRR-COMPRESS Do 198 series of 1998
Unveiling Insights: The Role of a Data Analyst
Unveiling Insights: The Role of a Data Analyst
dokumen.tips_chapter-4-transient-heat-conduction-mehmet-kanoglu.ppt
dokumen.tips_chapter-4-transient-heat-conduction-mehmet-kanoglu.ppt
Delhi 99530 vip 56974 Genuine Escort Service Call Girls in Kishangarh
Delhi 99530 vip 56974 Genuine Escort Service Call Girls in Kishangarh
Customer Service Analytics - Make Sense of All Your Data.pptx
Customer Service Analytics - Make Sense of All Your Data.pptx
꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call
꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call
Introduction-to-Machine-Learning (1).pptx
Introduction-to-Machine-Learning (1).pptx
꧁❤ Aerocity Call Girls Service Aerocity Delhi ❤꧂ 9999965857 ☎️ Hard And Sexy ...
꧁❤ Aerocity Call Girls Service Aerocity Delhi ❤꧂ 9999965857 ☎️ Hard And Sexy ...
D3 brown-bag
1.
Awalin Sopan FAAS Enginnering awalin.sopan@fireeye.com D3:
DATA DRIVEN DOCUMENTS
2.
2 Copyright ©
2014, FireEye, Inc. All rights reserved. D3 • JS library, now at version 4 • Creates Interactive svg or html elements, DOCUMENTS based on supplied DATA • Select DOM elements: Selection are arrays. • Bind data with them, data are also arrays. • Each such elements corresponds with a data point. • Used for data viz: control the VISUAL ATTRIBUTES: position, color, size, shape, layout based on the data
3.
3 Copyright ©
2014, FireEye, Inc. All rights reserved.
4.
4 Copyright ©
2014, FireEye, Inc. All rights reserved. Grouped bar chart: Alerts over time by priority Treemap: Alerts: grouped by iBackend> Priority > then by State
5.
5 Copyright ©
2014, FireEye, Inc. All rights reserved. Node-link graph: social/ ip network
6.
6 Copyright ©
2014, FireEye, Inc. All rights reserved. D3: EXAMPLES http://mbostock.github.io/d3/talk/20111116/force-collapsible.html http://www.nytimes.com/interactive/2012/02/13/us/politics/2013-budget-proposal- graphic.html?_r=0 https://bost.ocks.org/mike/nations/ http://bl.ocks.org/mbostock/1256572
7.
7 Copyright ©
2014, FireEye, Inc. All rights reserved. D3 var data = [1, 2, 3, ,4 ,5] var more_data = [ {name: ‘a’, age: 27}, {name: ‘b’, age: 24} ] var monthly_temp_data = [ {month: ‘january’, avg_temp: 27}, {month: februaryb’, avg_temp: 34} ]
8.
8 Copyright ©
2014, FireEye, Inc. All rights reserved. SELECT ELEMENTS FROM THE DOM: BIND DATA WITH THE SELECTION : CREATE NEW ELEMENTS IN THE DOM: var data_divs = svg.selectAll(“div”); # say, the dom has 4 divs, so data_divs is a size 4 array of divs data_divs = data_divs.data(data_array); # the data array has 6 elements data_divs = data_divs.enter().append(“div") # enter is the surplus data, # append 2 new divs to the dom # now data_divs is a size 6 array of divs # exit is the surplus elements.
9.
9 Copyright ©
2014, FireEye, Inc. All rights reserved. ADD VISUAL ATTRIBUTES TO THE ELEMENTS: BASED ON THE DATA: With Method Chaining: data_divs .style(‘width’, 200) .style(‘height’, 100); data_divs .style(‘width’, function(data, index){ return data* index; } ) .style(‘height’, function(data, index){ return 10*index; } ); data_divs.style(‘width’, 200); data_divs.style(‘height’, 100);
10.
10 Copyright ©
2014, FireEye, Inc. All rights reserved. http://jsfiddle.net/asopan/72f8kxmm/
11.
11 Copyright ©
2014, FireEye, Inc. All rights reserved. unbound elements =>the exit selection =>elements to be removed. unbound data => enter selection=> New elements to be created Data points joined to existing elements =>update selection.
12.
12 Copyright ©
2014, FireEye, Inc. All rights reserved. D3: SCALE: Create a scale with • Domain (input values from our data) • Range (output pixel in the dom) • Use scale object to calculate visual attribute values var scale_width = define a d3 scale to compute width of each div data_divs.style(‘width’, function(value){ return scale_width(value);})
13.
13 Copyright ©
2014, FireEye, Inc. All rights reserved. • Linear: • Sequential data, order matters • Time scale: • When data is temporal: date, timetsamp etc. • Ordinal/categorical : • When data is random strings, so order does not matter. scale_width = d3.scaleLiner() .domain([0, 2000]) # our data ranges from 0 to 2000 .range([0, 400]) # our screen real state for the data ranges from 0 to 400 pixel width scale_width(100) = 20. #that means a data with value 200 will be mapped to width 20 pixel data_divs.style(‘width’, function(value){ return scale_width(value);})
14.
14 Copyright ©
2014, FireEye, Inc. All rights reserved. D3: LINKS OF GOOD TUTORIALS https://square.github.io/intro-to-d3/data-binding/ https://bost.ocks.org/mike/d3/workshop/#0 https://www.safaribooksonline.com/library/view/inter active-data- visualization/9781449340223/_the_web.html
Editor's Notes
Simple visualization : can be simple rectangle, or path:area (calculate the area, then insert the area in the svg frame.)
Different visualization with the same data
D3 provides layout, so we don’t have to calculate network layout
Download now