---
title: "Discussion on \"D3 zoom() vs behavior.zoom()\" | Hashnode"
description: "Discussion on \"D3 zoom() vs behavior.zoom()\". In D3.js, you can use the zoom() method to zoom in or zoom out the chart or graph that you have created."
url: "https://hashnode.com/posts/d3-zoom-vs-behavior-zoom/64194060e29bf05355868546"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [D3 zoom() vs behavior.zoom()](https://sothearin.hashnode.dev/d3-zoom-vs-behavior-zoom?utm_source=hashnode&utm_medium=feed)

In D3.js, you can use the zoom() method to zoom in or zoom out the chart or graph that you have created.

Mar 21, 2023 · 2 min read · sothearin.hashnode.dev  
Updated Mar 29, 2023  
Read the article

-   [#d3js](https://hashnode.com/tag/d3js)
-   [#zoom](https://hashnode.com/tag/zoom)

## Written by

[Sothearin Ren](https://hashnode.com/@rensothearin)

@rensothearin · Cheongju, South Korea

  
[View profile](https://hashnode.com/@rensothearin)

Gonna show you what my interests are ..

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
