Vázquez Alcocer, Pere Pau2025-12-192024-102024-10-30978841000890810.5821/ebook-9788410008908https://une-dspace.glaux.es/handle/123456789/56101Data visualization lies at the intersection of data science and storytelling, enabling us to discern patterns, trends, and outliers that may otherwise remain concealed within spreadsheets and databases. Altair is a Python data visualization library that offers a unique approach to creating visualizations. Its declarative nature allows users to define what they want to see, rather than how to draw it. This simplicity and elegance make Altair an excellent tool for both beginners and experienced data scientists. The objective of the book is not to cover every aspect of the library, but rather to provide a comprehensive guide, with lots of hands-on examples, that will assist you in creating complex multi-view interactive visualizations. By the end of the book, you should be able to create sophisticated applications that can be included in web pages, and transform them, with little effort, in standalone tools.Preface 1. Introduction 1.1. Altair versions 1.2. Declarative language 1.3. Alternatives 2. Altair library 2.1. Basic chart design 2.2. Visualization pipeline 3. Data specification 3.1. Basic data specification 3.2. Wide form vs. long form 3.3. Data types 4. Marks 4.1. Basic marks 4.2. Composite marks 5. Channels 5.1. Channel encoding 5.2. Channel options 5.3. Customization options 5.4. Multiple charts: simple combinations 6. Charts 6.1. Basic chart types 6.2. Variations over simple charts 7. Advanced chart types 8. Data transformations 8.1. Basics 8.2. Aggregate transforms 8.3. Bin transforms 8.4. Transforming data through calculations 8.5. Time manipulations 8.6. Filter transformation 8.7. Lookup transform 8.8. Regression transform 9. Tips and tricks 9.1. Loading large datasets 9.2. Adding labels 9.3. Customizing axes 9.4. Saving charts 9.5. Plotting graphical elements 9.6. Plotting real images 10. Interaction basics 10.1. Basic interaction: Pan and zoom 10.2. Basic interaction: Filter based on parameters 11. Selection 11.1. Individual selection 11.2. Interval selection 11.3. Selecting by fields or encodings 12. Binding interactions to user input 12.1. Sliders 12.2. Dropdown menus 12.3. Other widgets 12.4. Responsive charts 12.5. Using widgets in creative ways 13. Compound charts 13.1. Repeated charts 13.2. Faceted charts 14. Advanced maps 15. Interactive visualization of very large datasets 16. Moving forwardLibro digitalp. 1586.84 MBCreative Commons Attribution 4.0 International (CC BY 4.0)http://creativecommons.org/licenses/by/4.0/INGENIERÍA Y ARQUITECTURA::INGENIERÍA INFORMÁTICA::Lenguajes y Sistemas InformáticosCiencia y análisis de datosData visualization with Vega-Altair 5openAccess