SlideShare uma empresa Scribd logo
1 de 44
Baixar para ler offline
ARCHITETTURA E VISUALIZZAZIONE 

DEI DATI IN DRUPAL
#DrupalDaysIT
DRUPAL, DATAVIZ, DATA JOURNALISM
Richard Saul Wurman*:
“Information Design è progettare la comprensione”
!
!
!
!
!
*TED, architettura dell’informazione
#DrupalDaysIT
ITALIAN RESEARCH MAP
irm.scienceonthenet.eu
MIUR
CNR
Zadig
#DrupalDaysIT
DAL DATO AL SIGNIFICATO*
Porsi la query giusta
!
“Mostra chi fa ricerca in Italia e permetti di valutare la
qualità della ricerca” (con budget limitato…)
*passando per Drupal
#DrupalDaysIT
MOLTI DATI
…
• Elenco dei progetti Fp7
• Elenco contractors Fp7
• Ranking dei centri di ricerca internazionali
• Ranking dei ricercatori
• Valutazioni ANVUR
…
#DrupalDaysIT
DAL DATO AL DATASET
argomento
paese
titolo del progetto
data di inizio
cordis.europa.eu
#DrupalDaysIT
DAL DATO AL DATASET
dati del progetto
contractors
coordinatore
#DrupalDaysIT
IL DATASET
Progetti
PJ_UID RCN PROJECT_TITLE START END …
9803873 85232
An interoperability
service utility…
01/02/08 31/07/10 …
9803920 85233
Coupling charge
transport to
internal…
01/01/08 31/12/10 …
9803967 85234
Community-based
Interoperability…
01/02/08 31/01/11 …
9804029 85235
Dual-channel CMOS
for (sub)-22 …
01/12/07 30/11/10 …
9804106 85236
Field opErational
teSts supporT …
05/11/07 04/05/08 …
9804170 85237
Quality impact
prediction for …
01/01/08 31/12/10 …
9804248 85238
Extended large (3D)
integration …
01/11/07 30/04/11 …
9804272 85239
Treble-CLEF:
evaluation…
01/01/08 31/12/09 …
9804304 85240
Developing versatile
and robust …
01/02/08 31/03/11 …
Contractor
CONTRACTOR
_ROLE
PJ_UID ORGANIZATION_NAME
P 9843724
EUROPEAN ROAD TRANSPORT TELEMATICS
IMPLEMENTATION COORDINATION …
C 9843724 VLAAMSE OVERHEID
C 9843724 UNIVERSITAET STUTTGART
C 9843724 NAVTEQ B.V.
C 9843850 AL-AHLYYA AMMAN UNIVERSITY
C 9843850 UNIVERSITE LYON 2 LOUIS LUMIERE
C 9843850
INSTITUTE FOR LANGUAGE AND SPEECH
PROCESSING - "ATHENA" RESEARCH CENTER
C 9843850 COMMISSARIAT A L'ENERGIE ATOMIQUE
C 9843850
CENTRE NATIONAL DE LA RECHERCHE
SCIENTIFIQUE
#DrupalDaysIT
AUMENTARE IL DATASET
Integrare i dati con altre fonti.
L’unione di due dataset crea un nuovo oggetto.
Dataset va trasformato per poter essere aumentato
• normalizzazione
• data mining
• prototipare la visualizzazione
#DrupalDaysIT
OPEN REFINE (NORMALIZZAZIONE)
openrefine.org
#DrupalDaysIT
KNIME (DATA MINING)
knime.org
#DrupalDaysIT
RAW (VISUALIZZAZIONE)*
app.raw.densitydesign.org
*ma pure Excel
#DrupalDaysIT
DATI SENSATI
#DrupalDaysIT
DRUPAL COME FRAMEWORK PER LA DATAVIZ
• Facilità di configurazione*
• Possibilità di collegare n altri dati
• Possibilità di aggiornare i dati
• Backoffice semplice per modificare
• Semplice creazione di nuove query
• Dataviz
• Maschere di interrogazione dei dati
• Serendipità (prove ed errori)
• …
* deve capirlo anche quel testone del redattore che deve poter aggiungere contenuti al sistema
#DrupalDaysIT
QUERY CHE DESIDERIAMO DA DRUPAL*
• Conta le categorie di progetti per contractor
• Conta quanti partner ha un contractor
• Calcola la media dei finanziamenti di un progetto
• Conta con quante nazionalità collabora un contractor
• Per ogni contractor conta i partner con più
collaborazioni
*Calcoli semplici per dati sporchi, poi si vedrà…
#DrupalDaysIT
DATI STRUTTURATI
#DrupalDaysIT
STRUTTURA DEI CONTENUTI
!
Analisi dei tipi di contenuto e scelta dei moduli per
accogliere i campi dei tipi di contenuto.
Ogni tabella è un tipo di contenuto.
Moduli per tipo di contenuto
• date
• entity reference
• location
• libraries
• views
Moduli per import
• feeds
• feeds tamper
• location feeds
• entity reference feeds
#DrupalDaysIT
TIPO: PROGETTO
#DrupalDaysIT
IMPORT: PROGETTI
#DrupalDaysIT
TIPO: CONTRACTOR
• location
#DrupalDaysIT
IMPORT: CONTRACTORS
#DrupalDaysIT
TIPO: COLLEGAMENTO
• entity api
• entity reference
#DrupalDaysIT
IMPORT: COLLEGAMENTI
• feeds tamper
#DrupalDaysIT
VISTE: PROGETTI PER ANNO PER CONTRACTOR
Relationship tra “id contractor” (title) del tipo
“Contractor” e campo entity reference che referenzia
l’id contractor nel tipo “Collegamento”
#DrupalDaysIT
VISTE: PROGETTI PER ANNO PER CONTRACTOR
Relationship tra “id progetto” (title) del tipo “Progetto”
e il campo entity reference che referenzia l’id progetto
nel tipo “Collegamento”
#DrupalDaysIT
VISTE: PROGETTI PER ANNO PER CONTRACTOR
Campi della vista
• anno
• contractor
• progetto
#DrupalDaysIT
VISTE: PROGETTI PER ANNO PER CONTRACTOR
Campi della vista
• anno
• contractor
• progetto
#DrupalDaysIT
VISTE: PROGETTI PER ANNO PER CONTRACTOR
Campi della vista
• anno
• contractor
• progetto
#DrupalDaysIT
VISTE: PROGETTI PER ANNO PER CONTRACTOR
Vista tabella
#DrupalDaysIT
VISTE: PROGETTI PER ANNO PER CONTRACTOR
Vista tabella con aggregazione
#DrupalDaysIT
MODELLI DI VISUALIZZAZIONE
Macchina (cruscotto) Organon (Few)
vs
(Feltron)
(Google)
#DrupalDaysIT
DASHBOARD: UNSUITABLE
Troppo testo e tabelle: difficoltà di
individuare i dati salienti
!
Torte e altri oggetti rotondi: occupano
troppo spazio e la differenza di area
può non essere percepita
accuratamente
!
Grafici in pila: richiedono troppa
concentrazione
Grafici a radar: difficile paragonare le
diverse variabili.
!
Tachimetri, termometri e altre
metafore: meramente ornamentali,
rischio di rappresentare male i dati e
tenere oscure le unità di misura
(Stephen Few)
#DrupalDaysIT
DASHBOARD: SUITABLE
Barre, linee o combinate
!
Liste e tabelle molto semplici
!
Box plot: molto informativi, danno
conto della variabilità del fenomeno
!
Dispersione (scatterplot): ma con una
linea di correlazione (R)
(Stephen Few)
#DrupalDaysIT
SUITABLE?
#DrupalDaysIT
D3
#DrupalDaysIT
DRUPAL + D3 = DATAVIZ
Vista - > dati json - > libreria D3 -> viz
| Modulo = d3.js* | -> viz
*”There are several javascript charts & graphs libraries out there, googleapi and jqplot for example. The D3
library, however, is not only a much more flexible library, but also offers more than just charts and graphs.”
!
Librerie grafiche incluse nel modulo:
• linee
• barre
• torte
• possibilità di aggiungere altre librerie (treemap,
map, area graph…)
#DrupalDaysIT
VISUALIZZAZIONE
D3
• Impostazione
• Vista
#DrupalDaysIT
VISUALIZZAZIONE
D3
• Impostazione
• Vista
#DrupalDaysIT
VISUALIZZAZIONE
D3
• Impostazione
• Vista
#DrupalDaysIT
VISUALIZZAZIONE
D3
• Impostazione
• Vista
#DrupalDaysIT
IRM OGGI
Dalle tabelle ai grafici*
*Paolo, e muoviti con sti grafici!
SERGIO CIMA
sergiocima@gmail.com
@sergio_cima
paolo.griselli@demade.net
@pauligree
PAOLO GRISELLI
SERGIO CIMA
sergiocima@gmail.com
@sergio_cima
paolo.griselli@demade.net
@pauligree
PAOLO GRISELLI
SPONSOR
MEDIA PARTNER

Mais conteúdo relacionado

Semelhante a Architettura e visualizzazione dei dati in Drupal

La gestione logica dei dati come chiave del successo per Data Scientist e Bus...
La gestione logica dei dati come chiave del successo per Data Scientist e Bus...La gestione logica dei dati come chiave del successo per Data Scientist e Bus...
La gestione logica dei dati come chiave del successo per Data Scientist e Bus...
Denodo
 

Semelhante a Architettura e visualizzazione dei dati in Drupal (20)

Cloud, IoT and Big Data
Cloud, IoT and Big DataCloud, IoT and Big Data
Cloud, IoT and Big Data
 
La gestione logica dei dati come chiave del successo per Data Scientist e Bus...
La gestione logica dei dati come chiave del successo per Data Scientist e Bus...La gestione logica dei dati come chiave del successo per Data Scientist e Bus...
La gestione logica dei dati come chiave del successo per Data Scientist e Bus...
 
Datarace: IoT e Big Data (Italian)
Datarace: IoT e Big Data (Italian)Datarace: IoT e Big Data (Italian)
Datarace: IoT e Big Data (Italian)
 
Presentazione bd2
Presentazione bd2Presentazione bd2
Presentazione bd2
 
A Journey in Data Visualization: Lessons Learned - After Work Data Tableau & ...
A Journey in Data Visualization: Lessons Learned - After Work Data Tableau & ...A Journey in Data Visualization: Lessons Learned - After Work Data Tableau & ...
A Journey in Data Visualization: Lessons Learned - After Work Data Tableau & ...
 
Dati distribuiti e rappresentazione centralizzata, ovvero come valorizzare il...
Dati distribuiti e rappresentazione centralizzata, ovvero come valorizzare il...Dati distribuiti e rappresentazione centralizzata, ovvero come valorizzare il...
Dati distribuiti e rappresentazione centralizzata, ovvero come valorizzare il...
 
Azure Synapse: data lake & modern data warehouse dalla A alla Z
Azure Synapse: data lake &  modern data warehouse dalla A alla ZAzure Synapse: data lake &  modern data warehouse dalla A alla Z
Azure Synapse: data lake & modern data warehouse dalla A alla Z
 
Data Informed Design - KnowData16, Bologna, 18/11/2016
Data Informed Design - KnowData16, Bologna, 18/11/2016Data Informed Design - KnowData16, Bologna, 18/11/2016
Data Informed Design - KnowData16, Bologna, 18/11/2016
 
Data Informed Design: perché Good Data è meglio di Big Data - KnowData2, Bolo...
Data Informed Design: perché Good Data è meglio di Big Data - KnowData2, Bolo...Data Informed Design: perché Good Data è meglio di Big Data - KnowData2, Bolo...
Data Informed Design: perché Good Data è meglio di Big Data - KnowData2, Bolo...
 
Industrial iot: dalle parole ai fatti
Industrial iot: dalle parole ai fatti Industrial iot: dalle parole ai fatti
Industrial iot: dalle parole ai fatti
 
Introduzione ai Big Data e alla scienza dei dati - Big Data
Introduzione ai Big Data e alla scienza dei dati - Big DataIntroduzione ai Big Data e alla scienza dei dati - Big Data
Introduzione ai Big Data e alla scienza dei dati - Big Data
 
Operational Data Store vs Data Lake
Operational Data Store vs Data LakeOperational Data Store vs Data Lake
Operational Data Store vs Data Lake
 
SCE2014 - Linked Open Data: come fare, cosa serve
SCE2014 - Linked Open Data: come fare, cosa serve SCE2014 - Linked Open Data: come fare, cosa serve
SCE2014 - Linked Open Data: come fare, cosa serve
 
Zurich Italia - IT Knowledge Base (Italian)
Zurich Italia - IT Knowledge Base (Italian)Zurich Italia - IT Knowledge Base (Italian)
Zurich Italia - IT Knowledge Base (Italian)
 
Come sfruttare tutte le potenzialità di Symfony in Drupal 8
Come sfruttare tutte le potenzialità di Symfony in Drupal 8Come sfruttare tutte le potenzialità di Symfony in Drupal 8
Come sfruttare tutte le potenzialità di Symfony in Drupal 8
 
Come sfruttare tutte le potenzialità di Symfony in Drupal 8
Come sfruttare tutte le potenzialità di Symfony in Drupal 8Come sfruttare tutte le potenzialità di Symfony in Drupal 8
Come sfruttare tutte le potenzialità di Symfony in Drupal 8
 
Sviluppare applicazioni web (completamente) on-line con Visual Studio Online ...
Sviluppare applicazioni web (completamente) on-line con Visual Studio Online ...Sviluppare applicazioni web (completamente) on-line con Visual Studio Online ...
Sviluppare applicazioni web (completamente) on-line con Visual Studio Online ...
 
Design Patterns - Enterprise Patterns (part 2)
Design Patterns - Enterprise Patterns (part 2)Design Patterns - Enterprise Patterns (part 2)
Design Patterns - Enterprise Patterns (part 2)
 
Corsi Tableau 10 by Ecoh Media
Corsi Tableau 10 by Ecoh MediaCorsi Tableau 10 by Ecoh Media
Corsi Tableau 10 by Ecoh Media
 
Introduzione a Drupal e componenti del core - SIDCamp 2015
Introduzione a Drupal e componenti del core - SIDCamp 2015Introduzione a Drupal e componenti del core - SIDCamp 2015
Introduzione a Drupal e componenti del core - SIDCamp 2015
 

Mais de Eugenio Minardi

Mais de Eugenio Minardi (20)

Delphi and ExtJS (26 ottobre 2017)
Delphi and ExtJS (26 ottobre 2017)Delphi and ExtJS (26 ottobre 2017)
Delphi and ExtJS (26 ottobre 2017)
 
ExtJS: La piattaforma vincente (tools)
ExtJS: La piattaforma vincente (tools)ExtJS: La piattaforma vincente (tools)
ExtJS: La piattaforma vincente (tools)
 
ExtJS: La piattaforma vincente (multiple screens)
ExtJS: La piattaforma vincente (multiple screens)ExtJS: La piattaforma vincente (multiple screens)
ExtJS: La piattaforma vincente (multiple screens)
 
ExtJS: La piattaforma vincente (rich UI)
ExtJS: La piattaforma vincente (rich UI)ExtJS: La piattaforma vincente (rich UI)
ExtJS: La piattaforma vincente (rich UI)
 
ExtJS: La piattaforma vincente (class system)
ExtJS: La piattaforma vincente (class system)ExtJS: La piattaforma vincente (class system)
ExtJS: La piattaforma vincente (class system)
 
ExtJS: La piattaforma vincente
ExtJS: La piattaforma vincenteExtJS: La piattaforma vincente
ExtJS: La piattaforma vincente
 
Distributed Team Management: 
Pitfall, Challenges and Advantages
Distributed Team Management: 
Pitfall, Challenges and AdvantagesDistributed Team Management: 
Pitfall, Challenges and Advantages
Distributed Team Management: 
Pitfall, Challenges and Advantages
 
A Practical Introduction to Symfony (European Drupal Days 2015)
A Practical Introduction to Symfony (European Drupal Days 2015)A Practical Introduction to Symfony (European Drupal Days 2015)
A Practical Introduction to Symfony (European Drupal Days 2015)
 
UN World Food Programme Standards & Best Practises (European Drupal Days 2015)
UN World Food Programme Standards & Best Practises (European Drupal Days 2015)UN World Food Programme Standards & Best Practises (European Drupal Days 2015)
UN World Food Programme Standards & Best Practises (European Drupal Days 2015)
 
Drupal theming - a practical approach (European Drupal Days 2015)
Drupal theming - a practical approach (European Drupal Days 2015)Drupal theming - a practical approach (European Drupal Days 2015)
Drupal theming - a practical approach (European Drupal Days 2015)
 
Optimizing MariaDB for Web Applications (European Drupal Days 2015)
Optimizing MariaDB for Web Applications (European Drupal Days 2015)Optimizing MariaDB for Web Applications (European Drupal Days 2015)
Optimizing MariaDB for Web Applications (European Drupal Days 2015)
 
PhpStorm for Drupal Development (European Drupal Days 2015)
PhpStorm for Drupal Development (European Drupal Days 2015)PhpStorm for Drupal Development (European Drupal Days 2015)
PhpStorm for Drupal Development (European Drupal Days 2015)
 
Drupal Continuous Integration (European Drupal Days 2015)
Drupal Continuous Integration (European Drupal Days 2015)Drupal Continuous Integration (European Drupal Days 2015)
Drupal Continuous Integration (European Drupal Days 2015)
 
Deploying an Open Source DAM in SAAS Mode (European Drupal Days 2015)
Deploying an Open Source DAM in SAAS Mode (European Drupal Days 2015)Deploying an Open Source DAM in SAAS Mode (European Drupal Days 2015)
Deploying an Open Source DAM in SAAS Mode (European Drupal Days 2015)
 
The multilingual Drupal 8 experience (European Drupal Days 2015)
The multilingual Drupal 8 experience (European Drupal Days 2015)The multilingual Drupal 8 experience (European Drupal Days 2015)
The multilingual Drupal 8 experience (European Drupal Days 2015)
 
Another Copernican Revolution: maintenance first, projects second (European D...
Another Copernican Revolution: maintenance first, projects second (European D...Another Copernican Revolution: maintenance first, projects second (European D...
Another Copernican Revolution: maintenance first, projects second (European D...
 
Drupal Security: How to survive Drupalgeddon and prepare for future (European...
Drupal Security: How to survive Drupalgeddon and prepare for future (European...Drupal Security: How to survive Drupalgeddon and prepare for future (European...
Drupal Security: How to survive Drupalgeddon and prepare for future (European...
 
The benefits of an elastic infrastructure on a Drupal e-commerce (European Dr...
The benefits of an elastic infrastructure on a Drupal e-commerce (European Dr...The benefits of an elastic infrastructure on a Drupal e-commerce (European Dr...
The benefits of an elastic infrastructure on a Drupal e-commerce (European Dr...
 
Verifying Drupal modules with OWASP ASVS 2014 (European Drupal Days 2015)
Verifying Drupal modules with OWASP ASVS 2014 (European Drupal Days 2015)Verifying Drupal modules with OWASP ASVS 2014 (European Drupal Days 2015)
Verifying Drupal modules with OWASP ASVS 2014 (European Drupal Days 2015)
 
Secure Drupal, from start to finish (European Drupal Days 2015)
Secure Drupal, from start to finish (European Drupal Days 2015)Secure Drupal, from start to finish (European Drupal Days 2015)
Secure Drupal, from start to finish (European Drupal Days 2015)
 

Architettura e visualizzazione dei dati in Drupal