xAxis with time series
✓ Published0🌍 Public
This visualization demonstrates a time series x-axis using D3 v5, displaying hourly timestamps from an InfluxDB CSV dataset loaded via d3.csv. The code constructs a time scale with d3.scaleTime, parses ISO date strings into JavaScript Date objects, and renders a customized bottom axis using d3.axisBottom with a tick format showing month, day, hour, minute, and second. The SVG chart is 5000 pixels wide, and the axis features long tick marks with the domain line removed.
AI-generated descriptionAn example showing the capabilities of VizHub:
- Loads D3 via UNPKG.
- Demonstrates use of
importfrom"d3". - Demonstrates use of
importfrom local ES6 modules.
MIT Licensed