Chapitres du cours
Formation · Parcours 13. Tableaux blancs · Chapitre 13.3 sur 4
13.3 Graphiques 3:32
Insérer des graphiques, leur donner des données, changer leur type, sélectionner leurs données, mettre en forme leurs axes et importer des graphiques depuis Excel.
Montre Holarch 2.35.
Ce que vous allez apprendre
- Insérer un graphique et lui donner des données dans Données du graphique, saisies, collées ou importées depuis un fichier
- Changer le type de graphique, y compris empilé et empilé à 100 %
- Inverser lignes et colonnes et ordonner les séries dans Sélectionner les données
- Activer des éléments de graphique et définir les bornes et les unités de l'axe dans Mise en forme de l'axe
- Importer des graphiques depuis un classeur Excel
Ajoutez une planche de graphiques d'usage au tableau blanc de concept Bike-Share Dock : insérez un graphique en colonnes, modifiez ses données et importez les chiffres de location depuis une feuille Excel, passez-le en colonnes empilées dans la galerie Changer le type de graphique (avec les aperçus empilé à 100 %, barres, courbes, secteurs, anneau et nuage de points), réordonnez et inversez les séries dans Sélectionner les données, activez les étiquettes de données et déplacez la légende dans Éléments de graphique, définissez les bornes et les unités de l'axe des valeurs dans Mise en forme de l'axe, et importez un graphique en courbes et un graphique en secteurs depuis un classeur Excel avec Importer un graphique depuis Excel.
Fichiers de projet
- Projet de départ (.holarch.json ; Gérer les projets → Fichiers de projet ▾ → Importer un projet (.json)…)
- Projet terminé (.holarch.json ; Gérer les projets → Fichiers de projet ▾ → Importer un projet (.json)…)
La vidéo est diffusée depuis holarch.app ; voir la Politique de confidentialité.
Pratique
Faites-le vous-même dans Holarch, sur Bike-Share Dock.
- Ouvrez le fichier de départ du chapitre et le tableau blanc Dock Concept. Cliquez sur + dans la bande Planches.
- Ouvrez Tableaux et graphiques et cliquez sur Colonne. Double-cliquez sur le graphique, cliquez sur Importer depuis un fichier… et choisissez un classeur de votre choix avec une colonne d'étiquettes et deux colonnes de nombres.
- Clic droit sur le graphique → Changer le type de graphique… → Colonnes empilées → OK.
- Dans la section Graphique, cliquez sur Sélectionner les données…, essayez Basculer ligne/colonne deux fois, montez une série d'un cran et cliquez sur OK.
- Cochez Étiquettes de données, placez la légende en Haut, cliquez sur l'axe des valeurs et réglez Maximum et Principale.
- Cliquez sur Importer un graphique depuis Excel… et insérez un graphique depuis un classeur qui en contient.
C'est terminé quand la planche contient un graphique en colonnes empilées avec des étiquettes de données, une légende en haut et des bornes d'axe fixes, et un graphique importé depuis Excel.
Vérifiez vos connaissances
- Quand un graphique empilé à 100 % vaut-il mieux qu'un graphique empilé ?
- Que fait Basculer ligne/colonne ?
- Comment revenir à une borne d'axe automatique après en avoir défini une ?
Afficher les réponses
Quand un graphique empilé à 100 % vaut-il mieux qu'un graphique empilé ?
Quand les proportions comptent plus que les totaux : chaque barre remplit la hauteur, et les segments montrent la part de chaque série.
Que fait Basculer ligne/colonne ?
Elle échange séries et catégories : les lignes deviennent les séries et les colonnes les catégories, ou l'inverse.
Comment revenir à une borne d'axe automatique après en avoir défini une ?
Videz la zone dans Mise en forme de l'axe.
Pour aller plus loin
Transcription
Afficher la transcription (narration et contenu de l'écran)
Introduction
Chapter three: charts. A whiteboard chart draws its own data, which you type, paste or import, and you format it the way you would in a spreadsheet.
In this chapter you build a board of usage charts for the dock.
A chart and its data
The charts get a board of their own. Click the plus in the Boards strip under the board: the new board opens as a second tab.
On screen: Boards strip → +.
Open the Tables and Charts panel, and click Column. The chart is added in the middle of the view, with sample data.
On screen: Tables and Charts panel → Column.
Double-click the chart to open Chart Data. Labels go in the first column and series names in the first row. You can type in the grid, add rows and series, or paste rows copied from a spreadsheet.
On screen: Double-click the chart → Chart Data.
Our rental figures are in a workbook. Click Import from File, and choose Dock Usage.
On screen: Import from File… → Dock Usage.xlsx.
The workbook has three sheets. Choose Rentals. The preview shows six months and two series, weekday and weekend. Click Use Imported Data, then Done.
On screen: Sheet: Rentals → Use Imported Data → Done.
Chart types
Right-click the chart, and choose Change Chart Type. The gallery shows your own data in every type.
On screen: Right-click → Change Chart Type….
Stacked column stacks each month's series, so the bar shows the total. One hundred percent stacked compares the shares. Bar turns the chart on its side, and line, pie, donut and scatter are here too.
On screen: Gallery: Stacked Column, 100% Stacked Column, Bar, Line, Pie, Donut, Scatter.
Choose Stacked Column, and click OK.
On screen: Stacked Column → OK.
Select Data
Select Data, in the Chart section, chooses what the chart shows. Switch Row and Column turns the months into the series and the series into the categories. Switch it back.
On screen: Chart section → Select Data… → Switch Row/Column, twice.
Legend entries lists the series. Select Weekend, and click Move Up: weekend now sits at the bottom of each stack, and keeps its color. Click OK.
On screen: Weekend → Move Up → OK.
Format the chart
Chart Elements turns the parts of the chart on and off. Tick Data labels, and set the legend position to Top.
On screen: Chart Elements → Data labels; Legend position: Top.
Click the numbers of the value axis to select the axis. A dashed box marks it, and the inspector shows Format Axis.
On screen: Click the value axis.
Set the maximum to three thousand, and the major unit to five hundred. Leave a box empty for automatic. Every change is one undo step.
On screen: Format Axis: Maximum 3000, Major 500.
Import charts from Excel
Charts made in Excel come in too. In the Tables and Charts panel, click Import Chart from Excel, and choose the workbook.
On screen: Import Chart from Excel… → Dock Usage.xlsx.
The dialog lists every chart in the workbook, with a preview, its sheet, its type and its series, and says what does not carry over. Tick the line chart and the pie chart, and click Insert.
On screen: Tick the line and pie charts → Insert 2 Charts.
They arrive selected, as whiteboard charts with their titles, colors and axes. Drag them below the first chart. You edit and format them like the one you made.
On screen: Drag the imported charts below the column chart.
Recap
To recap: insert a chart from the Tables and Charts panel, give it data in Chart Data, choose its type in the gallery, set its series in Select Data, format it with Chart Elements and Format Axis, and import charts from Excel.
In the next chapter, you link charts and tables to live spreadsheet cells, connect the board to the model and add clipart.