Projet_DataViz_Matrice_Histogramme
This visualization combines a train-station adjacency matrix with a live histogram of journey regularity. It plots TGV and Intercités routes, where each matrix cell’s opacity encodes the percentage of on-time trips, and clicking a cell highlights its row and column. The histogram charts monthly regularity for selected routes using a dynamic bar chart. Built with Vue and D3 v4, the code applies `d3.scaleBand`, `d3.scaleLinear`, and `d3.axisBottom`, while a slider filters data by year. Data comes from CSV files (`trajets_tgv.csv`, `trajets_intercites.csv`) and renders as SVG.
AI-generated descriptionBuilt with blockbuilder.org
forked from <a href='http://bl.ocks.org/Kylaste/'>Kylaste</a>'s block: <a href='http://bl.ocks.org/Kylaste/3dd9d4211f788843330bede05e0fd98d'>Projet_DataViz_Matrice</a>
forked from <a href='http://bl.ocks.org/Kylaste/'>Kylaste</a>'s block: <a href='http://bl.ocks.org/Kylaste/7df228ca0804a143ba19e244ba992aa2'>Projet_DataViz_Matrice_Histogramme</a>