Skip to main content

Candlestick Charts with D3

  • Chapter
  • First Online:
Beginning JavaScript Charts
  • 2252 Accesses

Abstract

In this short but nonetheless important chapter, you will look at candlestick charts. This type of chart is based on a particular data format (OHLC, or open-high-low-close) that you have already dealt with when the jqPlot library was covered (see Chapter 12). With jqPlot, you had a special plug-in to deal with and represent such data in an appropriate manner; instead, with D3 you have to build all of the graphic elements one by one, and above all you will need to implement a parser to read OHLC data from an external file. Moreover, another nontrivial aspect that you need to solve is how to deal with date and time data.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

eBook
USD 16.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 49.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 2013 Fabio Nelli

About this chapter

Cite this chapter

Nelli, F. (2013). Candlestick Charts with D3. In: Beginning JavaScript Charts. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4302-6290-9_23

Download citation

Publish with us

Policies and ethics