SlideShare una empresa de Scribd logo
1 de 26
Descargar para leer sin conexión
DATA VISUALIZATION
IN VUE
DATA VUESUALIZATION:
WHY AM I ALLOWED TO TELL YOU HOW TO VISUALIZE DATA?
WHO AM I?
• I’m a UI Developer at
1010data
• I specialize in our data
visualization tools
• I’ve worked on our client side
and server side charting code
• My website is mattdelsig.me
or mattdelsig.dev if you’re
feeling fancy
THE RULES OF
CHART CLUB
1. PLEASE TALK ABOUT
DATA VIZ CLUB
2. GET A GRIP ON
YOUR DATA TYPES
Categorical: Bar, Dot, Pie*
Continuous: Line, Scatter, Area
Time Series: Line or Bar, depends on if you
care about trends or outliers
HOW TO HANDLE DIFFERENT DATA TYPES
3. NO CHART
JUNK
Avoid extra graphical elements that aren’t entirely
necessary to the chart. They can distort the meaning
of the chart.
FANTASTIC CHART JUNK AND WHERE TO FIND IT
Image from thedatalass.com
4. KEEP CARDINALITY
AND RANGE IN MIND
WORKING WITH A RANGE OF CARDINALS
• Cardinality is the number of
unique data items
• Range is the difference
between the min and max
• If you have high cardinality
and low range a bar chart
isn’t good
• If you have low cardinality
and high range, a scatter plot
may not be good
Photo by Chris Chow on Unsplash
BRINGING IT ALL
TOGETHER: CHARTING IN
VUE
• We’re going to use Vue bindings for Chart.js called
vue-chartjs
• This library allows for reactive bindings for Chart.js
• Chart.js is a canvas based, client side charting
framework
• It has basic chart types which can be imported and
extended in your own Vue components
• There’s a mixin for reactive properties
CHARTING IN VUE
• Declarative data bindings and reactive props
means changing the dataset can efficiently re-
render the chart
• We can also change the scales to be appropriate
for the data type
• This means having streaming data is no problem,
the chart will live update as our data updates
CHANGING DATASETS
LETS MAKE THINGS MORE
INTERESTING: CHANGING
THE CHART TYPE
RESPONSIVE
CHARTS
• Chart.js can listen to window events and re render
on resize
• It does this by listening to events with a parent
container then using those dimensions to resize
the canvas
• The vue-chartjs plugin also allows for this option
and adds the correct container elements
automatically
RESPONSIVE CHARTS
QUESTIONS?
Data is Plural (https://tinyletter.com/data-is-plural) :
Good source for Datasets
Vue-ChartJs (https://vue-chartjs.org/) : Chart.js
bindings for Vue
Patternomaly (https://github.com/ashiguruma/
patternomaly) : Library to generate patterns to
improve chart accessibility
The Visual Display of Quantitative Information by
Edward Tufte : The classic book on Data Visualization
ADDITIONAL RESOURCES
EXAMPLE CODE:
HTTPS://GITHUB.COM/TOASTKING/
DATA-VUESUALIZATION

Más contenido relacionado

Similar a Data Vuesualization Data Visualization in VueJS

Best Tableau training in Chandigarh.pptx
Best Tableau training in Chandigarh.pptxBest Tableau training in Chandigarh.pptx
Best Tableau training in Chandigarh.pptxRykaBhatt
 
Tableau - Learning Objectives for Data, Graphs, Filters, Dashboards and Advan...
Tableau - Learning Objectives for Data, Graphs, Filters, Dashboards and Advan...Tableau - Learning Objectives for Data, Graphs, Filters, Dashboards and Advan...
Tableau - Learning Objectives for Data, Graphs, Filters, Dashboards and Advan...Srinath Reddy
 
Afternoons with Azure - Power BI and Azure Analysis Services
Afternoons with Azure - Power BI and Azure Analysis ServicesAfternoons with Azure - Power BI and Azure Analysis Services
Afternoons with Azure - Power BI and Azure Analysis ServicesCCG
 
Business Analytics 1 Module 2.pdf
Business Analytics 1 Module 2.pdfBusiness Analytics 1 Module 2.pdf
Business Analytics 1 Module 2.pdfJayanti Pande
 
Top tableau questions and answers in 2019
Top tableau questions and answers in 2019Top tableau questions and answers in 2019
Top tableau questions and answers in 2019minatibiswal1
 
Tableau Course In Bangalore-October
Tableau Course In Bangalore-OctoberTableau Course In Bangalore-October
Tableau Course In Bangalore-OctoberDataMites
 
Learning Tableau - Data, Graphs, Filters, Dashboards and Advanced features
Learning Tableau -  Data, Graphs, Filters, Dashboards and Advanced featuresLearning Tableau -  Data, Graphs, Filters, Dashboards and Advanced features
Learning Tableau - Data, Graphs, Filters, Dashboards and Advanced featuresVenkata Reddy Konasani
 
Visual Analytics in Big Data
Visual Analytics in Big DataVisual Analytics in Big Data
Visual Analytics in Big DataSaurabh Shanbhag
 
Data Visualization Tips for Oracle BICS and DVCS
Data Visualization Tips for Oracle BICS and DVCSData Visualization Tips for Oracle BICS and DVCS
Data Visualization Tips for Oracle BICS and DVCSEdelweiss Kammermann
 
4 pillars of visualization & communication by Noah Iliinsky
4 pillars of visualization & communication by Noah Iliinsky4 pillars of visualization & communication by Noah Iliinsky
4 pillars of visualization & communication by Noah Iliinskyiliinsky
 
Introduction to VEDAViz
Introduction to VEDAVizIntroduction to VEDAViz
Introduction to VEDAVizAKanudia
 
Benefits of Using Tableau.pptx
Benefits of Using Tableau.pptxBenefits of Using Tableau.pptx
Benefits of Using Tableau.pptxAmeliajordan4
 
Startupfest 2016: NOAH ILIINSKY (Amazon Web Services) - How to
Startupfest 2016: NOAH ILIINSKY (Amazon Web Services) - How to Startupfest 2016: NOAH ILIINSKY (Amazon Web Services) - How to
Startupfest 2016: NOAH ILIINSKY (Amazon Web Services) - How to Startupfest
 
datavisualization-5thUnit.pdf
datavisualization-5thUnit.pdfdatavisualization-5thUnit.pdf
datavisualization-5thUnit.pdfBrijeshPatil13
 
IT7113 research project_group_4
IT7113 research project_group_4IT7113 research project_group_4
IT7113 research project_group_4ethanlchandler
 
Seatug Presentation (Excel to Data Viz culture) Seattle Tableau User Group
Seatug Presentation (Excel to Data Viz culture) Seattle Tableau User GroupSeatug Presentation (Excel to Data Viz culture) Seattle Tableau User Group
Seatug Presentation (Excel to Data Viz culture) Seattle Tableau User GroupRussell Spangler
 

Similar a Data Vuesualization Data Visualization in VueJS (20)

Best Tableau training in Chandigarh.pptx
Best Tableau training in Chandigarh.pptxBest Tableau training in Chandigarh.pptx
Best Tableau training in Chandigarh.pptx
 
Data visualization 2
Data visualization 2Data visualization 2
Data visualization 2
 
Tableau - Learning Objectives for Data, Graphs, Filters, Dashboards and Advan...
Tableau - Learning Objectives for Data, Graphs, Filters, Dashboards and Advan...Tableau - Learning Objectives for Data, Graphs, Filters, Dashboards and Advan...
Tableau - Learning Objectives for Data, Graphs, Filters, Dashboards and Advan...
 
Afternoons with Azure - Power BI and Azure Analysis Services
Afternoons with Azure - Power BI and Azure Analysis ServicesAfternoons with Azure - Power BI and Azure Analysis Services
Afternoons with Azure - Power BI and Azure Analysis Services
 
Business Analytics 1 Module 2.pdf
Business Analytics 1 Module 2.pdfBusiness Analytics 1 Module 2.pdf
Business Analytics 1 Module 2.pdf
 
Tableau
TableauTableau
Tableau
 
Top tableau questions and answers in 2019
Top tableau questions and answers in 2019Top tableau questions and answers in 2019
Top tableau questions and answers in 2019
 
Tableau Course In Bangalore-October
Tableau Course In Bangalore-OctoberTableau Course In Bangalore-October
Tableau Course In Bangalore-October
 
Learning Tableau - Data, Graphs, Filters, Dashboards and Advanced features
Learning Tableau -  Data, Graphs, Filters, Dashboards and Advanced featuresLearning Tableau -  Data, Graphs, Filters, Dashboards and Advanced features
Learning Tableau - Data, Graphs, Filters, Dashboards and Advanced features
 
Visual Analytics in Big Data
Visual Analytics in Big DataVisual Analytics in Big Data
Visual Analytics in Big Data
 
Data Visualization Tips for Oracle BICS and DVCS
Data Visualization Tips for Oracle BICS and DVCSData Visualization Tips for Oracle BICS and DVCS
Data Visualization Tips for Oracle BICS and DVCS
 
4 pillars of visualization & communication by Noah Iliinsky
4 pillars of visualization & communication by Noah Iliinsky4 pillars of visualization & communication by Noah Iliinsky
4 pillars of visualization & communication by Noah Iliinsky
 
Sap Business Objects solutioning Framework architecture
Sap Business Objects solutioning Framework architectureSap Business Objects solutioning Framework architecture
Sap Business Objects solutioning Framework architecture
 
Introduction to VEDAViz
Introduction to VEDAVizIntroduction to VEDAViz
Introduction to VEDAViz
 
Benefits of Using Tableau.pptx
Benefits of Using Tableau.pptxBenefits of Using Tableau.pptx
Benefits of Using Tableau.pptx
 
Startupfest 2016: NOAH ILIINSKY (Amazon Web Services) - How to
Startupfest 2016: NOAH ILIINSKY (Amazon Web Services) - How to Startupfest 2016: NOAH ILIINSKY (Amazon Web Services) - How to
Startupfest 2016: NOAH ILIINSKY (Amazon Web Services) - How to
 
datavisualization-5thUnit.pdf
datavisualization-5thUnit.pdfdatavisualization-5thUnit.pdf
datavisualization-5thUnit.pdf
 
IT7113 research project_group_4
IT7113 research project_group_4IT7113 research project_group_4
IT7113 research project_group_4
 
Seatug Presentation (Excel to Data Viz culture) Seattle Tableau User Group
Seatug Presentation (Excel to Data Viz culture) Seattle Tableau User GroupSeatug Presentation (Excel to Data Viz culture) Seattle Tableau User Group
Seatug Presentation (Excel to Data Viz culture) Seattle Tableau User Group
 
Introduction to birt
Introduction to birtIntroduction to birt
Introduction to birt
 

Último

TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)wesley chun
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUK Journal
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfsudhanshuwaghmare1
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Enterprise Knowledge
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Servicegiselly40
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...Neo4j
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?Igalia
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CVKhem
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 

Último (20)

TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 

Data Vuesualization Data Visualization in VueJS

  • 2. WHY AM I ALLOWED TO TELL YOU HOW TO VISUALIZE DATA? WHO AM I? • I’m a UI Developer at 1010data • I specialize in our data visualization tools • I’ve worked on our client side and server side charting code • My website is mattdelsig.me or mattdelsig.dev if you’re feeling fancy
  • 4. 1. PLEASE TALK ABOUT DATA VIZ CLUB
  • 5. 2. GET A GRIP ON YOUR DATA TYPES
  • 6. Categorical: Bar, Dot, Pie* Continuous: Line, Scatter, Area Time Series: Line or Bar, depends on if you care about trends or outliers HOW TO HANDLE DIFFERENT DATA TYPES
  • 8. Avoid extra graphical elements that aren’t entirely necessary to the chart. They can distort the meaning of the chart. FANTASTIC CHART JUNK AND WHERE TO FIND IT Image from thedatalass.com
  • 9. 4. KEEP CARDINALITY AND RANGE IN MIND
  • 10. WORKING WITH A RANGE OF CARDINALS • Cardinality is the number of unique data items • Range is the difference between the min and max • If you have high cardinality and low range a bar chart isn’t good • If you have low cardinality and high range, a scatter plot may not be good Photo by Chris Chow on Unsplash
  • 11.
  • 12. BRINGING IT ALL TOGETHER: CHARTING IN VUE
  • 13. • We’re going to use Vue bindings for Chart.js called vue-chartjs • This library allows for reactive bindings for Chart.js • Chart.js is a canvas based, client side charting framework • It has basic chart types which can be imported and extended in your own Vue components • There’s a mixin for reactive properties CHARTING IN VUE
  • 14.
  • 15. • Declarative data bindings and reactive props means changing the dataset can efficiently re- render the chart • We can also change the scales to be appropriate for the data type • This means having streaming data is no problem, the chart will live update as our data updates CHANGING DATASETS
  • 16.
  • 17.
  • 18. LETS MAKE THINGS MORE INTERESTING: CHANGING THE CHART TYPE
  • 19.
  • 20.
  • 22. • Chart.js can listen to window events and re render on resize • It does this by listening to events with a parent container then using those dimensions to resize the canvas • The vue-chartjs plugin also allows for this option and adds the correct container elements automatically RESPONSIVE CHARTS
  • 23.
  • 25. Data is Plural (https://tinyletter.com/data-is-plural) : Good source for Datasets Vue-ChartJs (https://vue-chartjs.org/) : Chart.js bindings for Vue Patternomaly (https://github.com/ashiguruma/ patternomaly) : Library to generate patterns to improve chart accessibility The Visual Display of Quantitative Information by Edward Tufte : The classic book on Data Visualization ADDITIONAL RESOURCES