Skip to main content
100%

Candlestick

✓ Published0🌍 Public
CColinEberhardt
Last edited May 28, 2019
Created on Aug 24, 2017

This candlestick chart visualizes stock price movements over time, with each candle representing a single trading day’s open, high, low, and close values. The chart uses d3fc’s `seriesSvgCandlestick` to render the candlesticks, and a discontinuous time scale to skip weekends, ensuring a continuous trading week. The x-axis domain is derived from the date extent, while the y-axis domain is calculated from the high and low price values. Data is loaded from a CSV file containing daily Apple stock prices from March to June 2014. The visualization employs the d3fc library's chartCartesian component for layout, with an SVG plot area and a left-oriented y-axis, providing a clean and functional representation of price movements over time.

AI-generated description

A simple candlestick rendering example, based on this TechanJS example

Built with blockbuilder.org

mit Licensed

Similar vizzes